INDEX MATCH MATCH or something else?

maywal

New Member
Joined
Dec 19, 2016
Messages
29
Hello

I have a table with the following:

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD]1991[/TD]
[TD]1992[/TD]
[TD]1993[/TD]
[TD]1994[/TD]
[/TR]
[TR]
[TD]Industry A[/TD]
[TD]Place A[/TD]
[TD]x[/TD]
[TD]x[/TD]
[TD]x[/TD]
[TD]x[/TD]
[/TR]
[TR]
[TD]Industry B[/TD]
[TD]Place A[/TD]
[TD]x[/TD]
[TD]x[/TD]
[TD]x[/TD]
[TD]x[/TD]
[/TR]
[TR]
[TD]Industry C[/TD]
[TD]Place A[/TD]
[TD]x[/TD]
[TD]x[/TD]
[TD]x[/TD]
[TD]x[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Industry A[/TD]
[TD]Place B[/TD]
[TD]x[/TD]
[TD]x[/TD]
[TD]x[/TD]
[TD]x[/TD]
[/TR]
[TR]
[TD]Industry B[/TD]
[TD]Place B[/TD]
[TD]x[/TD]
[TD]x[/TD]
[TD]x[/TD]
[TD]x[/TD]
[/TR]
[TR]
[TD]Industry C[/TD]
[TD]Place B[/TD]
[TD]x[/TD]
[TD]x[/TD]
[TD]x[/TD]
[TD]x[/TD]
[/TR]
</tbody>[/TABLE]

In another sheet I need to pull for instance the value from industry B place B in 1994. I have around 10 different places and industries. I have tried to use an INDEX MATCH MATCH however it is not returning the values correctly.

Example:
=INDEX(RawData!$A$1:$AX$241,MATCH('Baseline by sector'!$C7,RawData!$B$2:$B$241,0),MATCH('Baseline by sector'!$G3,RawData!$E$1:$AX$1,0))

Is there another way of doing this simply? perhaps some kind of HLOOKUP VLOOKUP combo?

any help would be much appreciated.

Thanks
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Let A:F house the sample.

G1 = Industry B; H1 = Place B; I1 = 1994

In J1 control+shift+enter, not just enter:

=IFERROR(INDEX($C$2:$F$8,MATCH(H1,IF($A$2:$A$8=G1,$B$2:$B$8),0),MATCH(I1,$C$1:$F$1,0)),"not found")
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,876
Members
452,363
Latest member
merico17

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