Multiple drop down lists in the same cell

wolfschenck1954

New Member
Joined
Oct 9, 2021
Messages
1
Office Version
  1. 2010
Platform
  1. Windows
Is it possible to have IF statements in the cell that gets drop down lists?
My need is to identify which drop down list to use pending the value in another cell.
the case is as follows:
IF cell A:1 = TS then the TS list drops down in cell A2
IF cell A:1 = W then the W list drops down in cell A2
IF cell A:1 = C then the C list drops down in cell A2
??
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
you should be able to use data validation - LIST , with an IF statement

Dependent List on entry in another cell.xlsx
ABCDEFGHIJKLMNO
1TSTS ListW ListC List
22IF cell A:1 = TS then the TS list drops down in cell A21A1-A
3IF cell A:1 = W then the W list drops down in cell A22B2-B
4IF cell A:1 = C then the C list drops down in cell A23C3-C
5
6
7
Sheet2
Cells with Data Validation
CellAllowCriteria
A2List=IF(A1="TS",M2:M4,IF(A1="W",N2:N4,O2:O4))
 
Upvote 0
Etaf. Thank you for posting the IF statement formula above. It was just what I was looking for. However, I would welcome guidance on how I can reproduce the procedure for subsequent row in a table, so, for each row I can enter a key word in the first column that will then initiate one of the chosen drop down lists in the second column (in the same row), given that I could be processing up to 10,000 rows on a single spreadsheet. I need to do this to allow me to create a "general ledger" spreadsheet, where each row can then be used to select the accounts to credit and debit, given that my spreadsheet processes three different interconnected sets of accounts. Hopefully, this message will get to you. Again, thank you.
 
Upvote 0
given that I could be processing up to 10,000 rows on a single spreadsheet.
for each row I can enter a key word in the first column that will then initiate one of the chosen drop down lists in the second column (in the same row),

This is A2 dropdown and B2 result
For 10,000 rows
and you would manually change 10,000 rows??

you should be able to apply to all rows
=IF(A1="TS",$M$2:$M$4,IF(A1="W",$N$2:$N$4,$O$2:$O$4))
NOTE fix the list with the $ so they dont also change

Book7
ABCDEFGHIJKLMNO
1TS2TS ListW ListC List
2WAIF cell A:1 = TS then the TS list drops down in cell A21A1-A
31-AIF cell A:1 = W then the W list drops down in cell A22B2-B
4C1-AIF cell A:1 = C then the C list drops down in cell A23C3-C
Sheet2
Cells with Data Validation
CellAllowCriteria
B1:B4List=IF(A1="TS",$M$2:$M$4,IF(A1="W",$N$2:$N$4,$O$2:$O$4))
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,204
Members
453,022
Latest member
RobertV1609

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