Forum Discussion
Flynt Moreland
Jul 26, 2018Copper Contributor
Multi Column Drop Down List
I'm sure I'm over complicating this. For simplicity, say I have a 2 Col x 5 Row Table with 1-5 in one column and A-E in the other. I want to create a drop down list where the user selects an item i...
- Jul 27, 2018
Greetings!
Please find attached, multi column drop down list as required.
Thanks,
Ed Hansberry
Jul 26, 2018Bronze Contributor
I think the approach would be:
- User select dropdown on column 1 (1-5) using the Data|Data Validation tool forcing it to be a whole number between 1 and 5.
- Column 2 in this very simplistic example would be =choose(a1,"A","B","C","D","E") where a1 is the first cell in column 1, Then copy that down.
Now, if your data is more complex or has more than 5 values, column 2 would be a table of some sort that would have 1-n in the first column and the second column would be the corresponding values, then use a VLOOKUP(A1,TableRange,2,false) formula. That could easly handle hundreds/thousands of options in column 2. https://support.office.com/en-us/article/video-vlookup-when-and-how-to-use-it-9a86157a-5542-4148-a536-724823014785.