Formulas in List of Data Validation

shabangle

New Member
Joined
Aug 9, 2013
Messages
23
Hi All,

I'm struggling to use a formula in the "List" area of Data Validation.

I will have sheets 1 to n, within my workbook, and each sheet has its sheet ID in cell A1.

I have a lookup sheet, with all the possible values I want to use in my data validation. Each sheet will require a different range of 7 values in the dropdown.

All the values are in column D of the lookup sheet, with my range of 7 possible values coming every 9 rows, e.g. for sheet 1 the range I want is D12:D18; sheet 2's range is D21:D27 etc. So the formula for this is "Lookup!D(9*A1 + 3):D(9*A1 + 9)".

How do I construct this range definition within the list area when defining the Data validation?

Many Thanks for any help
Andy
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
So the formula for this is "Lookup!D(9*A1 + 3):D(9*A1 + 9)".

How do I construct this range definition within the list area when defining the Data validation?

You could also try the INDIRECT() function - for example:

=INDIRECT("lookup!D"&9*A1+3&":D"&9*A1+9)
 
Upvote 0
Thanks for the quick replies on this, the INDIRECT is exactly what I'm after. Named ranges would be too complicated (I actually provided a much more simplified explanation) in this case. I also appreciate there is a VBA option, but in this case the indirect is exactly what I'm after.

Much Appreciated
 
Upvote 0

Forum statistics

Threads
1,214,376
Messages
6,119,180
Members
448,871
Latest member
hengshankouniuniu

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