Forum Discussion

Jacob Haarstad's avatar
Jacob Haarstad
Copper Contributor
Aug 10, 2017
Solved

Data validation

Is it possible to create a data validation list that auto populates after selecting a specific item in a separate data validation list? Let's say I want to select fruit or vegetable in the first list,...
  • Yury Tokarev's avatar
    Aug 11, 2017

    Hi Jacob,

     

    You can create two separate ranges listing fruits and vegetables, and assign range names to them exactly matching the values in you higher level list (i.e. Fruit & Vegetable). If you have you first validation cell in C3 to select either fruit or vegetable, then in the second validation cell you would need to place the formula '=INDIRECT($C$3)'. The result of the formula would be the range name to refer to depending on current selecion in C3. Please see attached for an example.

     

    Hope this helps

     

    Yury

Resources