• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Conditional Data Validation?

AndrewS

New Member
Hello,

I'm a bit stumped. I'm sure there's a way to do this but I'm not sure how.

I'm building a matrix. In my sample file, column B has "Type", and column C has Food. Column B is data validated with dropdown menus for the subsequent food categories, and column C is where I need my conditional options to appear.

Is there a way to make it so if a food type is selected in the "Type" dropdown for column B, the next cell in the row (in Column C's "Food" section) will populate a dropdown of those food types?

The second tab contains all the data for foods according to their types, but I'd like it to get it to be picked up conditionally by the Type selected on the first tab's B column and then be available in a dropdown from the next cell over (in C column).

Example: if I choose Citrus under the Types column (B11), how can I make (C11) display a dropdown menu of the corresponding items on the second tab (in this case Oranges and Grapefruit), including any items I may add to that list in the future?
 

Attachments

  • Andrew S Sample.xlsx
    54.8 KB · Views: 0
Hi Andrews,

Welcome to Chandoo.org.

You could use the indirect function to list values based on the criterion as required. In the attached sheet refer to sheet 4 to use drop-down's. The base information of the drop-down values could be found in Sheet 3.

You could find more detailed information about indirect function in the below link.

http://www.contextures.com/xlFunctions05.html
Kind regards,
Anand
 

Attachments

  • Copy of Andrew S Sample.xlsx
    57 KB · Views: 0
Back
Top