Removing Duplicates from a dependent drop-down list

Posted on 2007-08-02
Medium Priority
Last Modified: 2013-11-25
Does anyone know if it's possible to remove duplicates from a name list?  My data is set up very much like it is set up on this contextures spreadsheet.


If you go into that spreadsheet and click in the drop-down list for Prod where the selection is currently "Large Cap Equity", you'll see that there are duplicates.  

My data that I'm making duplicate lists for is set up just like this spreadsheet.  All my data is in a table form like this contextures example.  I would like to use the code that is in this spreadsheet for my spreadsheet but I need to get rid of the duplicates.  Is there away to code that Validation Source reference so that it removes duplicates?  The code for that particular cell is:

Question by:tkeiffer
  • 2
LVL 23

Accepted Solution

MalicUK earned 2000 total points
ID: 19624014
Hi tkeiffer,

I'm afraid the answer is simply "no".

You cannot use the formula to only get unique references, you actually need to remove them from the original data. There are several ways, from manual to coded to addins, which will enable you to do this, plenty of which can be found by searching EE for "get unique values in excel".

LVL 23

Expert Comment

ID: 19682058
Thanks for the grade! :)

Expert Comment

ID: 37003050
I am currently working on this problem.  I followed a video on line and it worked on his spreadsheet but when I tried to duplicate it, it didn't work for me.  I have attached both his video and my spreadsheet.  If anyone has any idea why this is not working for me please let me know, I've already spent like 2 hours on it.

http://www.wonderhowto.com/how-to-create-data-validation-drop-down-list-from-table-with-duplicates-excel-396042/ Duplicate-Spreadsheet.xlsx

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question