No problem, prasaddn. The key is remembering how the SUMPRODUCT function works. In it's normal use, it multiples each array "across", and then sums up those products.
So, when it gets to this point:
=({1,0,0,0,1,0,1}),({1,0,0,1,0,0,1})
The function multiplies each pair, like this:
=(1*1,0*0,0*0,0*1,1*0,0*0,1*1)
which becomes this:
(1,0,0,0,0,0,1)
Which gets summed up to simply be 2. This tells us that there were 2 rows where both conditions were met.
For your problem, the formula is keeping a running tally going of how many records so far match the current line. If it's more than 1, it's a duplicate, and should be hidden.
further reading on SUMPRODUCT:
http://www.ozgrid.com/Excel/Excel-conditional-summing.htm