Dropdown list values based on another cells value?

creative999

Board Regular
Joined
Jul 7, 2021
Messages
108
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
  2. MacOS
Is it possible to have a dropdown list show different values based on a value entered in another cell? For example:

If A1 = OPEN, then data validation dropdown list source in B2 = Y1:Y10
If A1 = CLOSED, then data validation dropdown list in source B2 = Z1:Z10
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
i have used a formula in LIST - although it gives an error - I went to custom and then back to list and it works

=IF(A1="OPEN",Y1:Y10,IF(A1="Closed",Z1:Z10,""))

Book9
ABCVWXYZAA
1closedopenclosed
21a
32b
43c
54d
65e
7
8
9
10
11
12
13If A1 = OPEN, then data validation dropdown list source in B2 = Y1:Y10
14If A1 = CLOSED, then data validation dropdown list in source B2 = Z1:Z10
15
Sheet4
Cells with Data Validation
CellAllowCriteria
B1List=IF(A1="OPEN",Y1:Y10,IF(A1="Closed",Z1:Z10,""))


i have also provided a dropbox link - BUT will only be available for a few days
 

Attachments

  • Screenshot 2024-03-27 at 12.12.22.jpeg
    Screenshot 2024-03-27 at 12.12.22.jpeg
    78.5 KB · Views: 11
Upvote 0
Solution

Forum statistics

Threads
1,223,893
Messages
6,175,248
Members
452,623
Latest member
cliftonhandyman

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