Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
That is not working, it only shows the names that only apear once in the
list. If a name has more then one entries it is not displayed at all. further more is it not possible to do this in VBA. That isn't true. Sounds like you didn't type the formula correctly. It will show an X for the *first occurrence* of a name in the list. The 2nd or 3rd occurrence of the same name will look blank. In other words, if you extract only the rows with an X, you will have all of the unique names -- same result as the Advanced Filter/Unique Records only. Yes, of course you can do this in VBA, either by coding the steps I described or, more efficiently, by using Advanced Filter. You can also use "brute force" method: reading the two columns into a VBA array, concatenating the first and last names into a 2nd array, then comparing each entry to those above it in the list (I'd use MATCH) and copying the 1st occurrence to yet a 3rd array. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Removing Duplicates Help | Excel Discussion (Misc queries) | |||
Removing duplicates | Excel Discussion (Misc queries) | |||
Removing Duplicates | Excel Worksheet Functions | |||
removing duplicates | Excel Discussion (Misc queries) | |||
removing duplicates testing in 2 coloms | Excel Worksheet Functions |