Index match for multiple criteria

noodlestall

New Member
Joined
Apr 5, 2018
Messages
2
I currently use:
Code:
=IFERROR(INDEX('Risk Raw Data'!$A$1:$BJ$600,MATCH($B7,'Risk Raw Data'!$AN$1:$AN$600,0),MATCH(F$5,'Risk Raw Data'!$A$1:$BJ$1,0)),"")
which works fine.

However I want to make this as dynamic as possible and as easy as possible for the user to amend with no knowledge of the formulas used at all. I have a hidden row above my table with the column headers in the Raw data, this is then used to look up a column index. I have one more look up that I want to do to make this fully dynamic

Code:
=IFERROR(INDEX('Risk Raw Data'!$A$1:$BJ$600,MATCH($B7,[U][I][B]'Risk Raw Data'!$AN$1:$AN$600[/B][/I][/U],0),MATCH(F$5,'Risk Raw Data'!$A$1:$BJ$1,0)),"")

In my raw data this is column is column 40 (AX).
how can I get a formula to use that number (40) in the current match function (or alternative) please?
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,224,824
Messages
6,181,187
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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