Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Remove Duplicates in an Array
I have a list of values in a column on an spreadsheet which i want to use to
populate a dropdown. The problem is that there are duplicate values in the column and I only want to use unique values. I can transfer this informatin to an Array but have become stuck on how to remove duplicate entries. Do i have to step through the column and only write each occurrence of a new value to the Array or is there a quick way to remove duplicate values from the Array? Any advice or help would be greatly appreciated. Thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Remove Duplicates in an Array
Hello,
I suggest to take only the first column of the result array of my UDF lfreq: http://www.sulprobil.com/html/listfreq.html Or you write a similar function on your own. Regards, Bernd |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Remove Duplicates in an Array
http://j-walk.com/ss/excel/tips/tip47.htm
-- Regards, Tom Ogilvy "Patrick" wrote: I have a list of values in a column on an spreadsheet which i want to use to populate a dropdown. The problem is that there are duplicate values in the column and I only want to use unique values. I can transfer this informatin to an Array but have become stuck on how to remove duplicate entries. Do i have to step through the column and only write each occurrence of a new value to the Array or is there a quick way to remove duplicate values from the Array? Any advice or help would be greatly appreciated. Thanks |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Remove Duplicates in an Array
Many thanks Tom for the link, i will give it a look.
Patrick "Tom Ogilvy" wrote: http://j-walk.com/ss/excel/tips/tip47.htm -- Regards, Tom Ogilvy "Patrick" wrote: I have a list of values in a column on an spreadsheet which i want to use to populate a dropdown. The problem is that there are duplicate values in the column and I only want to use unique values. I can transfer this informatin to an Array but have become stuck on how to remove duplicate entries. Do i have to step through the column and only write each occurrence of a new value to the Array or is there a quick way to remove duplicate values from the Array? Any advice or help would be greatly appreciated. Thanks |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Remove Duplicates in an Array
Many thanks Bernd. I will give your code a look.
Patrick. "Bernd" wrote: Hello, I suggest to take only the first column of the result array of my UDF lfreq: http://www.sulprobil.com/html/listfreq.html Or you write a similar function on your own. Regards, Bernd |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I remove duplicates | Excel Discussion (Misc queries) | |||
How to remove row duplicates | Excel Discussion (Misc queries) | |||
Remove Duplicates | New Users to Excel | |||
How to remove duplicates? | Excel Discussion (Misc queries) | |||
Remove duplicates | Excel Discussion (Misc queries) |