+ Reply to Thread
Results 1 to 8 of 8

Drop Down List without Duplicates

  1. #1
    Registered User
    Join Date
    02-12-2009
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2003
    Posts
    6

    Drop Down List without Duplicates

    Hello,

    I have searched all over the internet without any answers for this question.

    I have a two tab excel spreadsheet with a drop down list. However, for this task I cannot modify anything on the Data tab but need to create a drop down list of non-duplicated names in the List Tab. How in the world are we able to do this? The best case scenario is that I do not need to modify data in any other cell and can do this via formula in the List Box data validation. I am open to any ideas though! Please help!

    I appreciate anyone that can help and I added an attachment.
    Attached Files Attached Files
    Last edited by VBA Noob; 02-13-2009 at 01:57 PM.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Drop Down List without Duplicates

    Wherever you're sourcing the data from in the drop down table must not contain duplicates. Then you only have two choices, either remove the duplicates from the original data or copy the data to other cells, remove the duplicates and source your drop down box from the copied cells.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Drop Down List without Duplicates

    one way is to use a pivot table somewhere to return a unique list then use that in your validation. refresh pivot table if you think new names may have been added
    see attached
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    12-03-2008
    Location
    Cardiff
    MS-Off Ver
    2003
    Posts
    123

    Re: Drop Down List without Duplicates

    Re: Drop Down List without Duplicates

    --------------------------------------------------------------------------------
    Wherever you're sourcing the data from in the drop down table must not contain duplicates. Then you only have two choices, either remove the duplicates from the original data or copy the data to other cells, remove the duplicates and source your drop down box from the copied cells.
    If you are trying to find a list from the data with no duplicates the easiest way of doing this is to select the data that you wish to evaluate, click on data > filter> advanced filter

    Then check the box labeled "Unique records only" then you can choose to either filter the list in place or to create a copy of the new list somewhere else. the copied list has to be placed on the same sheet as the original, but you can move it afterwards.

  5. #5
    Registered User
    Join Date
    02-12-2009
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Drop Down List without Duplicates

    Thanks martinwilson!!

    I am much more inexperienced than you. How did you name a pivot table so that you can reference it in the list as =mynames and allow it to expand dynamically in size?

  6. #6
    Registered User
    Join Date
    02-12-2009
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Drop Down List without Duplicates

    Thanks martinwilson!!

    I am much more inexperienced than you. How did you name a pivot table so that you can reference it in the list as =mynames and allow it to expand dynamically in size?

  7. #7
    Registered User
    Join Date
    02-12-2009
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Drop Down List without Duplicates

    Quote Originally Posted by clidaka View Post
    Thanks martinwilson!!

    I am much more inexperienced than you. How did you name a pivot table so that you can reference it in the list as =mynames and allow it to expand dynamically in size?
    Hi, nevermind I figured out how to name. Thank you so much everyone! I have a solution!

  8. #8
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Drop Down List without Duplicates

    glad to have helped

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1