Can 1st Column Data validation (list) control 2nd Column vlaue list?

ansvk1

Board Regular
Joined
Oct 6, 2017
Messages
82
Office Version
  1. 2019
  2. 2013
Platform
  1. Windows
Hi there,
I need help with the data validation set up. I have 3 tables.
Table1 name=activities (containing 2 data points, being used as a dropdown list using datavalidation on col D)
Table2 name=SubActivities of activity1 (containing 2 data points, being used as a dropdown list with datavalidation on colE)
Table3 name=SubActivities of activity2 (containing 2 data points, being used as a dropdown list with datavalidation on colE)

Now my question is, based on data entered in colD (could be activity1 or activity2 from list in table1), how can we control data entry in colE, to show its related list (table2 items only or table3 items only)?

In other words, dropdown list in colE should show only relevant SubActivities of 1 only or 2 only in its dropdown list depending on what is entered in col D. Is it even possible to make excel do datavalidatiuon lists work this way?

your help is greatly appreciated!
Kris
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Hi Kris

You’ll be pleased to hear this is possible! Essentially, your 2 sub-activity lists need to be named the same as the options from your first list, so in your case Activity 1 & Activity 2.

Then, the data validation formula for the 2nd list should read:

=Indirect(D1)

Substitute D1 for whichever cell you have your first drop down list in. The formula will then pick up the value from that cell and use it as the reference for the name of your second list, which will vary depending on the selection of your first list!
 
Upvote 0

Forum statistics

Threads
1,215,731
Messages
6,126,537
Members
449,316
Latest member
sravya

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top