+ Reply to Thread
Results 1 to 3 of 3

Dynamic validation list

  1. #1
    Registered User
    Join Date
    01-21-2014
    Location
    Amsterdam, Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    2

    Dynamic validation list

    Hi,

    I have a list that looks like this:
    Category - value
    food-fish
    food-chips
    beverage-beer
    beverage-wine
    Now I would like to use this list as a conditional validation list. So if the field concerns food only the food values are selectable.
    There is a solution: create a list for all categories and use an IF in the source field of the validation. However, I would like a more generic solution, I don't want to create all these lists. Is there some other way to make this work?

    Cheers,
    D.
    Last edited by Doxa; 01-21-2014 at 06:34 AM.

  2. #2
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Dynamic validation list

    see attached workbook for an example.
    Attached Files Attached Files
    Pierre Leclerc
    _______________________________________________________

    If you like the help you got,
    Click on the STAR "Add reputation" icon at the bottom.

  3. #3
    Registered User
    Join Date
    01-21-2014
    Location
    Amsterdam, Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Dynamic validation list

    Hi Pierre,

    Thank you for your response. However I'm looking for a solution with only 1 big list and not a list for every category. I played with this formula in the validation list source: =INDIRECT(VLOOKUP("food", I:J, 2, FALSE)) (the columns I:J contain my category-value combinations). But this isn't working. Any suggestion is appreciated.

    Cheers,
    D

+ 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. Replies: 0
    Last Post: 04-15-2013, 09:22 AM
  2. Data Validation with Dynamic List using VBA
    By nivassrii in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-12-2011, 01:13 AM
  3. Dynamic Validation List name
    By Ekser in forum Excel General
    Replies: 9
    Last Post: 11-08-2010, 11:36 AM
  4. [SOLVED] Changing named Validation list to Dynamic list.
    By GlenC in forum Excel General
    Replies: 1
    Last Post: 07-20-2006, 06:55 PM
  5. Dynamic validation list
    By stabilo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-04-2005, 11:05 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