I was wondering if anyone know of a function that will look at a range of cells containing text and return a consolidated array, which eliminates duplicate entries. For example, if have a range such as:
Apple
Apple
Apple
Banana
Banana
Orange
Orange
Orange
Orange
I would like to return the list: Apple, Banana, Orange for use in a data validation drop-down.
Thanks.
Try Advanced Filter found in the DATA|FILTER menu... (make sure to check Unique Records).
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
Thanks. However, I was hoping to achieve this effect by using a function which can be used for data validation. I'm trying to get a drop-down list based on unique entries from a list such as the fruit example above. Any other thoughts? Thanks again.
Just point the datavalidation to the list that you created with Advanced Filter.
The alternative would be a VBA macro... which is not my forte.
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
Just point the datavalidation to the list that you created with Advanced Filter.
The alternative would be a VBA macro... which is not my forte.
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks