+ Reply to Thread
Results 1 to 11 of 11

Dependent Validation List (Single)

  1. #1
    Registered User
    Join Date
    01-04-2013
    Location
    North Carolina
    MS-Off Ver
    Excel 2010
    Posts
    6

    Dependent Validation List (Single)

    I have searched the forum for a few hours to find a solution with no success. I have a list with reference name "POINTS" that lists values from 1-35. Users have the option of evaluating a separate list of criteria based on level of importance from 1-35. There are 35 criteria and each requires a different value. I have copied the validation list to each cell opposing the list for easy selection.

    What I would like is for when a value from the list is selected for one item, it is no longer available for selection for the other criteria. In this way no value can be selected twice.

    Is there an easy way to do this? I'm using Excel 2010.

    Thanks.

  2. #2
    Forum Contributor dogberry's Avatar
    Join Date
    07-15-2012
    Location
    Wales, UK
    MS-Off Ver
    Excel 2010
    Posts
    624

    Re: Dependent Validation List (Single)

    COUNTIF($A$1:$A$100,A1)=1

    Hi

    Use data validation custom and insert the above formula adjust column from A to whatever column you are using and obviously it does not need to be 100




    Chris
    Click my star if I helped Thanks

  3. #3
    Registered User
    Join Date
    01-04-2013
    Location
    North Carolina
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Dependent Validation List (Single)

    I'm not seeing how that will help. Let me illustrate it:

    Criteria Importance

    Criteria 1
    Criteria 2
    Criteria 3
    Criteria 4
    Criteria 5

    The criteria are in column A with "Criteria 1" in A5. Importance selection is in B5 with a validated list, "POINTS", which references the values 1-5, from another location in the worksheet. Right now I have the same validated pull down list in C5, D5, E5, & F5. This allows the user to select from the pull-down list the value they want to assign to the criteria. What I would like, is when they select "1", for example in B5 for Criteria 1, it will not be an option for C5, D5, E5 or F5. Only 2-5 would then be available.

    Forgive me if I'm missing something but I don't see how the COUNTIF function will assist me here? I tried using "Custom" in the validation but it doesn't give me a pull down list, which is a must for this sheet.

    Thanks for your time. I really appreciate it.

  4. #4
    Forum Contributor dogberry's Avatar
    Join Date
    07-15-2012
    Location
    Wales, UK
    MS-Off Ver
    Excel 2010
    Posts
    624

    Re: Dependent Validation List (Single)

    Hi

    Try it, the formula will stop duplicates from your selection criteria. If it does not work post a sample worksheet with what you have and what you want to achieve.

    To Attach a File:

    1. Click on Go Advanced
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.



    Chris

  5. #5
    Registered User
    Join Date
    01-04-2013
    Location
    North Carolina
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Dependent Validation List (Single)

    Validation Example.xlsx

    I hope I did this right?

    Thanks. Jonathan

  6. #6
    Registered User
    Join Date
    01-04-2013
    Location
    North Carolina
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Dependent Validation List (Single)

    Chris,

    I apologize. I had the wrong refernce in the first file. This one is correct. Please ignore the last post.

    Validation Example-REV1.xlsx

  7. #7
    Valued Forum Contributor
    Join Date
    05-19-2010
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    391

    Re: Dependent Validation List (Single)

    check out this file and see if it will work for you
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    01-04-2013
    Location
    North Carolina
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Dependent Validation List (Single)

    When I enter the formulas from the Revised sheet, all I get are number values.

    My selection sheet is Sheet 3, while all the formulas are on Sheet 2. I copied the formula you had for 'NameCheck' into my list "IMPORTANCE"

    =OFFSET('Sheet 2'!$C$1,0,0,COUNTA('Sheet 2'!$C$1:$C$6)-COUNTBLANK('Sheet 2'!$C$1:$C$6),1)

    I don't know what I'm doing wrong as t's not letting me have a pull down list?

    Validation Example-REV2.xlsx

  9. #9
    Valued Forum Contributor
    Join Date
    05-19-2010
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    391

    Re: Dependent Validation List (Single)

    not sure what went wrong --- I retyped in the formula in your named range and it worked fine
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    01-04-2013
    Location
    North Carolina
    MS-Off Ver
    Excel 2010
    Posts
    6

    Cool Re: Dependent Validation List (Single)

    It's working now. I simply renamed Referred "IMPORTANCE" to C1:C5 on Sheet2 (instead of the OFFSET formula in your example) and it worked fine!

    Thanks you so much for your example! I will be able to use this many times. Really appreciated!

  11. #11
    Valued Forum Contributor
    Join Date
    05-19-2010
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    391

    Re: Dependent Validation List (Single)

    glad you got it to work

+ 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