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

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
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,214,866
Messages
6,121,996
Members
449,060
Latest member
mtsheetz

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