I don't suppose anyone knows how to fund duplicate information in excel? I'm looking for duplicate NI numbers in a spreadsheet with 13000 lines.... Filters don't see to help. I need to find them and report on them. Will carry on trying, I know it's possible, as my boss does it. *sigh*. Tum te tum. Edit - using 2007 and
(
Read more... )
Comments 10
In 2003 (maybe others) you can 'Filter for unique records' (search help for that term). Could you make a copy of your spreadsheet (I definitely wouldn't do it on the 'live' one), do that filter, delete the unique records and see what's left?
There are probably better ways of doing this, but I'm not an excel expert...
Reply
Reply
=countif(Range, =A1)
Where A1 is the first row in your range. Copy that down past along the entire range, so you get a = B1, =C1 and so on.
Then look for values greater than 1. A 1 means Excel has counted 1 instance of that value in the range, so it is unique. 2 or more means it has duplicates.
0 means bad times :-D
Reply
Reply
I did write a Macro I named "Monday" once. Perhaps my bad programming habits had some influence on that :-p
Reply
n log n.
Reply
Reply
Reply
1) Order the entire sheet by the NI number column.
2) Add a header row, so the numbers start in row 2 (if they don't already).
3) In the last column, after the data, add the following formula (for ease of writing, I'm assuming the column full of NI numbers is cloumn A):
=if(A2=A1,"Duplicate","")
4) Copy this formula down the 13,000 lines.
5) Filter by this column for "Duplicate". This will only give your duplicate records.
Reply
Leave a comment