+ Reply to Thread
Results 1 to 6 of 6

Populating a Data Validation List based on...

Hybrid View

  1. #1
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Populating a Data Validation List based on...

    Data validation lists shouldn't have to work that hard. Best to solve your problem on the worksheet itself, then have the validation list used the solved column of values

    Here's an example of how I would do it. A helper column creates an indexable "key", the that key is parsed into columns for the validation lists, to use. You can change anything you want in columns A and B and the lists will reassert themselves.

    Named ranges are used for rows 2-20 in the blue section, each column named for the color. For instance, highlight H2:H20 and you will see the name "Red" appear in the Name Box (to the left of the formula bar).

    Anyway, once it's all working, you could hide all those helper columns, or even have them all a different (maybe hidden) worksheet.
    Last edited by JBeaucaire; 04-18-2009 at 12:54 AM. Reason: Removed book, use one further down.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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