+ Reply to Thread
Results 1 to 3 of 3

Data validation list, created from a filtered table range/column

  1. #1
    Registered User
    Join Date
    09-04-2014
    Location
    London
    MS-Off Ver
    2013
    Posts
    6

    Data validation list, created from a filtered table range/column

    Hi

    I've been struggling with this for a couple of days and don't think I'm going to crack it. Hoping someone can help me out. I'm trying to write a meal planner. I've attached a copy of the file I'm about to talk about.

    On sheet Dishes I have Table 1, which contains a list of categories of dishes (Meat, Vegetable, Dessert) and what they are (Steak, Carrots, Ice Cream).

    On sheet Planner I have Table 2, which has columns for Day, Meat, Vegetable 1, Vegetable 2, and Dessert.

    I would like a drop down list in each of the food columns on Table 2, which looks through all of the matching dish types and pulls back a list of the names. So, in the Meat column, the list would show Steak, Chicken, Sausages ... while the Vegetable 1 column would show Carrots, Corn, Potatoes ... and so on. Vegetable 1 and Vegetable 2 would pull back the same list of vegetables, it's only to make sure I remember to eat enough vegetables!

    I have defined a range for Table 1, which is FOODTYPE for the second column.

    I can return the first value with an INDEX and MATCH, shown in the first row of Table 2, but I'm struggling to get the code written to get a full list and I am completely baffled.

    I hope someone can help me with this. Eventually I'll be able to compile a shopping list based on the ingredients in each meal, but ... one step at a time

    I really want to stick to a function as I think that will work on an iPhone/iPad when I'm in the super market and I think that VBA is disabled on iOS.

    Thank you so much!

    CL
    Attached Files Attached Files

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Data validation list, created from a filtered table range/column

    Can you change the layout to use a separate column for each category of ingredient? It will make it much simpler.
    Remember what the dormouse said
    Feed your head

  3. #3
    Registered User
    Join Date
    09-04-2014
    Location
    London
    MS-Off Ver
    2013
    Posts
    6

    Re: Data validation list, created from a filtered table range/column

    Hi, thanks for getting back to me -

    Do you mean that instead of having one column with values like "Meat" and "Vegetables", I have say 3 columns titled "Meat" etc, and then set the values to "Yes" or "No" for each listed food?

    Thanks!

+ 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. [SOLVED] Filtered Data Validation List
    By michaelkelly02 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-30-2023, 03:05 AM
  2. Creating validation list from table column based on data in another column
    By dreamthrum in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-11-2013, 08:38 PM
  3. [SOLVED] Data Validation Lists - Separate dropdowns created from table
    By mc84excel in forum Excel General
    Replies: 7
    Last Post: 08-19-2013, 12:04 AM
  4. [SOLVED] Dynamic range from every nth value in a column in a data validation list
    By Xaoc in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-08-2013, 08:47 AM
  5. Supply a column of table as a Data Validation list
    By Chandrajit in forum Excel General
    Replies: 7
    Last Post: 03-11-2012, 05:01 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