Forum Discussion
CelineFoong
May 24, 2021Copper Contributor
How can i create 3 dependent drop down list with the 3rd drop down depending on 1st and 2nd list?
Here is my list of data. For Dropdown3, I will want the dropdown to be dependent on BOTH Dropdown1 and Dropdown2. Kindly note that some of the values within Order Information/Shipping Information und...
- May 24, 2021
See the attached sample workbook.
Select C2 on the Data Entry sheet and click Data Validation on the Data tab of the ribbon to see the formula I used. It is
=OFFSET(Lists!$C$1,MATCH(1,(Lists!$A$2:$A$27=A2)*(Lists!$B$2:$B$27=B2),0),0,COUNTIFS(Lists!$A$2:$A$27,A2,Lists!$B$2:$B$27,B2),1)
ChristianDeinzer
Apr 06, 2022Copper Contributor
It looks like it is exactly I have been looking for, but for some reason your Dropdown3 is not working.
Could you please let me know how to fix it?
Thanks a lot!
HansVogelaar
Apr 06, 2022MVP
It looks like data validation has to be refreshed when the workbook is opened.
The attached new version is now a macro-enabled workbook; you may have to allow macros when you open it. I hope this works for you.
- Paul_UK86Sep 05, 2023Copper Contributor
How do I make Drop down 2 dependant on the selection of Drop down 1 and Drop down 3 dependant on the selections of both?
Thank you in advance
- SergeiBaklanSep 05, 2023MVP
If to google "excel dependent drop down list" lot of posts just on first page, e.g. How to make dependent dropdown lists in Excel | Exceljet. You may find more suitable in your case and your Excel version.
- Paul_UK86Sep 06, 2023Copper Contributor
SergeiBaklan thanks! I couldn't get it working using any of the guides online! I think the problem was that my data has multiple words and spaces and is very complicated against basic one word just a few items in a lot of the examples. I found a way to reduce the data down and cross reference using the Define Names - labelling each section of data as the simple name so it matches.
It is a very over complicated way to do it and I am sure any updates to the data will break it - but it works for now. Thanks
- ChristianDeinzerApr 06, 2022Copper Contributor
Thanks for your help and reply.
I am looking not to use VBA.
Please have a look on the file and see if you can help me.
https://1drv.ms/x/s!AtcEIJC2JdswgzXG9djJJgczPkYX?e=7slZzb
Thanks!!
- HansVogelaarApr 06, 2022MVP
Unfortunately, we cannot use functions such as SORT or UNIQUE directly in data validation. I don't see a solution without using VBA.
- ChristianDeinzerApr 06, 2022Copper ContributorNo problem!
Thanks again!