Dynamic Data Validation List Based on Criteria

nepheron

New Member
Joined
Jul 18, 2018
Messages
2
Hi Folks,

I have a data set which has role titles in the first column and country names as headers. Each column contains a role cost for each country. I am trying to create a dynamic Data Validation list where it will show only roles where cost is greater than zero for the country selected.

The following formula when pasted into a cell and dragged down works (I thought I would then point the validation to this cell reference):

=IFERROR(INDEX($A$20:$A$38,SMALL(IF($J$20:$J$38>0,ROW($A$20:$A$38)),ROW(1:1))-19,1),"")

Although I want the "cost" column ($J$20:$J$38 in the above example) to float based on a country match. I have tried a combination of OFFSET and MATCH which works by itself. Although when added to the IF formula (encased inside SMALL) it simply doesn't work.

Any ideas?

Thanks,
N
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Forum statistics

Threads
1,214,848
Messages
6,121,917
Members
449,055
Latest member
KB13

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