Dynamic formula Data validation

AussieVic

Active Member
Joined
Jan 9, 2009
Messages
364
Hi,

When i try to use the below dynamic formula in Data Validation i get a source error message. I tried to use the below as a list so i do not get any blanks in the list dropdown.

=MATCH(REPT("z",255),Assumptions!$E:$E)-ROW(Assumptions!$E$19)+1
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Hi,

When i try to use the below dynamic formula in Data Validation i get a source error message. I tried to use the below as a list so i do not get any blanks in the list dropdown.

=MATCH(REPT("z",255),Assumptions!$E:$E)-ROW(Assumptions!$E$19)+1

=OFFSET(Assumptions!$E$19,0,0,MATCH(REPT("z",255),Assumptions!$E:$E)-MIN(ROW(Assumptions!$E$19))+1)

Note that you can't apply INDIRECT to the data-validated cell which uses the preceding definition.
 
Upvote 0
Hi,

When i try to use the below dynamic formula in Data Validation i get a source error message. I tried to use the below as a list so i do not get any blanks in the list dropdown.

=MATCH(REPT("z",255),Assumptions!$E:$E)-ROW(Assumptions!$E$19)+1
Maybe you need something like this:

=Assumptions!$E$19:INDEX(Assumptions!$E:$E,MATCH("zzzzz",Assumptions!$E:$E))

Note that if data validation list is on another sheet then you'll have to give that formula defined name and use the defined name as the source.
 
Upvote 0

Forum statistics

Threads
1,224,595
Messages
6,179,798
Members
452,943
Latest member
Newbie4296

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