dependent drop downs, data validation, dynamic lists ..... incompatible?

keithmct

Active Member
Joined
Mar 9, 2007
Messages
254
Office Version
  1. 2021
Platform
  1. Windows
I have a triple dependent drop down list set where choice 1 (in E14) influences what appears in choice 2 (S14) list by doing this in data validation:
Code:
=INDIRECT(E14)
and choice 3 in U14 gets it's list from a range named from the concatenation of what's in choice 1 and choice 2 with this code in data validation.
Code:
=INDIRECT(SUBSTITUTE(E14&S14," ",""))
This works. However, when I made all my named ranges dynamic with help from the web like this:
Code:
=OFFSET(Fabrics!$B$1,1,0,COUNTA(Fabrics!$B:$B)-1,1)
data validation doesn't like it so no longer works.
I can type the choices in E14 data validation source manually as there are only about 8 items in that list but the others need fixing.
where should I go from here? or what other information can I give to further explain?
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
I can't help you with the formula, but if you're ok to use vba, I might have an idea.
If you're interested in this method just let me know & if would be helpful if you can upload your sample workbook to a free site such as dropbox.com & then put the link here.

Here's an example of 2 dependent data validation with dynamic named range using vba:
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,731
Members
448,987
Latest member
marion_davis

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