Dependent drop down list using offset

Shadkng

Active Member
Joined
Oct 11, 2018
Messages
370
Hi, I am trying to figure out a problem with dependent drop down lists boxes using data validation. I made the formula below following a tutorial online - I named this formula in name manager and used the name in the data validation source box. My main drop down list is in B24 and the second drop down is in D24. Those cells in the formula needs to be fixed as $B$24 - if the $ is removed to make them relative it won't work. The issue is I need the drop downs to work in the rows below. If I copy row 24 to row 25 and I choose a different item in the row 25 main drop down, then the second drop down still points to the row 24 drop down. If anyone has any ideas I would appreciate it. Thanks

=OFFSET(COLORS!$A$2,1,MATCH(QUOTE!$B$24,COSTS!$A$146:$A$253,0)-1,COUNTA(OFFSET(COLORS!$A$2,1,MATCH(QUOTE!$B$24,COSTS!$A$146:$A$253,0)-1,40,1)),1)
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

Forum statistics

Threads
1,223,952
Messages
6,175,593
Members
452,654
Latest member
mememe101

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