+ Reply to Thread
Results 1 to 9 of 9

Create custom dropdown list using data validation

  1. #1
    Valued Forum Contributor
    Join Date
    11-20-2003
    MS-Off Ver
    2010, 2016
    Posts
    1,173

    Create custom dropdown list using data validation

    I am trying to create a custom dropdown list based on car manufacturer and color of car. In column A I have a list of 19 car makers. In column B I have the color of each car. I want to create dropdown list for only the car makers for which the car is gold. Is there a way to do this. Example spreadsheet attached.
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Create custom dropdown list using data validation

    Paste the below formula in C2 cell and fill it down
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Paste the below formula in F2 cell and fill it down
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Check the attachment for details.

    ---

    Sixthsense
    Attached Files Attached Files


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Valued Forum Contributor
    Join Date
    11-20-2003
    MS-Off Ver
    2010, 2016
    Posts
    1,173

    Re: Create custom dropdown list using data validation

    Not quite what I was looking for, but close. I'm trying to create a "dropdown" given my criteria. Please see attached and select cell H2. You will notice that H2 has a dropdown option attached to it. This is what I trying to achieve based on the criteria for columns A and B. Thanks again.
    Attached Files Attached Files

  4. #4
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Create custom dropdown list using data validation

    maybe so (see attached file)
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor
    Join Date
    11-20-2003
    MS-Off Ver
    2010, 2016
    Posts
    1,173

    Re: Create custom dropdown list using data validation

    Thanks for the comment but is there a method for soloving without having to create additional columns of data to reach the end result? Thanks.

  6. #6
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Create custom dropdown list using data validation

    you can try to use the Worksheet_Activate event
    Attached Files Attached Files

  7. #7
    Valued Forum Contributor
    Join Date
    11-20-2003
    MS-Off Ver
    2010, 2016
    Posts
    1,173

    Re: Create custom dropdown list using data validation

    How would I expand the dropdown to include range F2:F25? Right now it only applys to cell F2. Thanks for your patience.

  8. #8
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Create custom dropdown list using data validation

    сhange this code
    Please Login or Register  to view this content.

  9. #9
    Valued Forum Contributor
    Join Date
    11-20-2003
    MS-Off Ver
    2010, 2016
    Posts
    1,173

    Re: Create custom dropdown list using data validation

    It is working but it brings up another issue which is the list is dynamic, meaning the at anytime there can be more or less number of Car Models in the list and the car color may also change. When this occurs, the dropdown does not automatically update. Thanks

+ 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