Forum Discussion
How can i create 3 dependent drop down list with the 3rd drop down depending on 1st and 2nd list?
- 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)
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)
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!
- HansVogelaarApr 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, 2023Diamond Contributor
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.
- 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.