Haha. Sorry - I have some fairly nasty spreadsheets (financial
data-related), so I've become desensitized to large numbers

I try to
avoid Index/Match-type formulae when possible, as it creates several
minute-long calculation times!
I just recorded a macro of a manual advanced filter/unique
records/filtercopy, etc. Is this the best way to go about it?
Cheers,
Russ
:
Yikes! 10,000 records? That's the kind of information you mention at the top
of the post....not later as an "oh, by the way" : )
If you'd consider using an Advanced Filter to build the list, let me know.
You could us Adv Fltr to create the list on the same sheet as the original
list OR on another sheet. Also, automating the Adv Fltr to run on demand
using VBA is relatively easy.
***********
Regards,
Ron
XL2002, WinXP
:
Thanks Ron. Functionally this is exactly what I'm looking for.
Unfortunately, my list that I am looking to filter contains roughly 10,000
records - thus I think I need a less complex formula (Excel crashed when I
ran the below formula on the full range).
Any ideas? I'm beginning to think that VBA is the more appropriate
solution...
:
With
A1 contains the title of the list (eg: Names)
A2:A20 containing a contiguous list
(which may include duplicates. blanks only at the end)
Try something like this:
B1: UniqueNames
Enter this ARRAY FORMULA in B2
=IF(SUMPRODUCT(($A$2:$A$20<>"")*1/COUNTIF($A$2:$A$20,$A$2:$A$20&""))<=COUNTA($B$1:$B1)-1,"",INDEX($A$2:$A$20,MATCH(TRUE,ISERROR(MATCH($A$2:$A$20,$B$1:$B1,0)),0),1))
Note: For array formulas, hold down [Ctrl] and [Shift] when you press
[Enter], instead of just pressing [Enter].
Copy B2 and paste into B3 and down as far as you need
Example:
If A1:A8 contains
Title
Company_02
Company_02
Company_03
Company_01
Company_02
Company_03
Company_03
The formulas return these values in B1:B4
Title
Company_02
Company_03
Company_01
NOTE: the unique values are listed in the order in which they are encountered
Is that something you can work with?
***********
Regards,
Ron
XL2002, WinXP
:
Is there a function, or other method, to maintain a real-time list of unique
records. In other words, I'd like to NOT have to manually run Advanced
Filter/Paste every time a new unique record is added. I assume I could do
this with a macro, but am trying to keep the file macro-free. Any
suggestions?
Thanks as always!