+ Reply to Thread
Results 1 to 8 of 8

Data Validation without duplicates

  1. #1
    Registered User
    Join Date
    12-24-2013
    Location
    Bangalore
    MS-Off Ver
    Excel 2010
    Posts
    39

    Data Validation without duplicates

    Hlo,

    I have alist in which a location is mentioned multiple time..

    eg:

    Delhi
    Delhi
    Delhi
    Punjab
    Punjab
    Mumbai
    Mumbai

    I need a data validation in which a location should come only once...

    Thank you in advance

  2. #2
    Forum Contributor
    Join Date
    06-18-2012
    Location
    Chennai, India
    MS-Off Ver
    Excel 2003, 2010
    Posts
    212

    Re: Data Validation without duplicates

    post a sample file which will be easier to understand....

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Data Validation without duplicates

    Create a unique list using Advanced Filter or formula and use this list for your validation list
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Registered User
    Join Date
    12-24-2013
    Location
    Bangalore
    MS-Off Ver
    Excel 2010
    Posts
    39

    Re: Data Validation without duplicates

    here is the example....
    Attached Files Attached Files

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Data Validation without duplicates

    Formulas to create a Unique list

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Data Validation without duplicates

    Another method
    In D6 copied down
    =IFERROR(INDEX($C$6:$C$12,MATCH(0,INDEX(COUNTIF($D$5:D5,$C$6:$C$12),0,0),0)),"")
    Then name your new list CityList
    =Sheet1!$D$6:INDEX(Sheet1!$D$6:$D$12,SUMPRODUCT(--(LEN(Sheet1!$D$6:$D$12)>0)))
    Attached Files Attached Files
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  7. #7
    Registered User
    Join Date
    12-24-2013
    Location
    Bangalore
    MS-Off Ver
    Excel 2010
    Posts
    39

    Re: Data Validation without duplicates

    is it possible to get the data validation without any list reference.....

    if possible data validation directly from list..without duplicate...if macro is possible then it will be awesome...

    Thanks in advance for help...

  8. #8
    Registered User
    Join Date
    11-18-2013
    Location
    Zurich, Switzerland
    MS-Off Ver
    Excel 2010
    Posts
    54

    Re: Data Validation without duplicates

    The easiest way is this:

    Take your values and paste them in a sheet.
    Remove the duplicates with one click (from Data).
    Then put this array in your data validation list.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. duplicates in drop down list from data validation
    By aljiwani in forum Excel General
    Replies: 5
    Last Post: 12-11-2019, 05:25 PM
  2. Remove Duplicates in Data Validation List
    By NMullis in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-31-2012, 10:53 AM
  3. Data Validation Help on limitting Duplicates, not restricting them
    By Christinadtg in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-11-2012, 08:46 PM
  4. Replies: 0
    Last Post: 07-11-2011, 04:49 AM
  5. Cascading Data Validation -eliminate duplicates
    By coachcr in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-15-2008, 11:39 AM

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