Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Does anyone know of an efficient way to: Look at all of the cells in a selected column range, identify all of the unique values in that column, return each unique value into an array. I think the nearest analogy I can think of is the GroupBy clause i SQL, in Access I have a really really clunky vba routine at the momen that basically says: While not at the end of the list If the current value is already in the array, don't do anything If the current value is not in the array, add it in there move to the next value in the list Wend Works fine for very small sets of data but obviously slows down fo very big data sets Any help would be greatly appreciated! Le -- GreyPilgri ----------------------------------------------------------------------- GreyPilgrim's Profile: http://www.excelforum.com/member.php...fo&userid=3105 View this thread: http://www.excelforum.com/showthread.php?threadid=50730 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
IF Clause | Excel Worksheet Functions | |||
IF Clause | Excel Programming | |||
VBA excel - problem with having clause in sql with adodb.connection/recordset | Excel Programming | |||
"Between" in an IF clause | Excel Discussion (Misc queries) | |||
Barchart 'GroupBy' Question | Charts and Charting in Excel |