Three Way Lookup: INDEX and MATCH with blank space in row header

litan

New Member
Joined
Apr 1, 2014
Messages
1
I'm trying to do a three way lookup when there are two row header variables and two column header variable using INDEX and MATCH.

I want to fill the table with dollar amount by match Id code, name and month. There is blank space from month to month. I tired this below formula but obviously this doesn't work.
=INDEX(A14:L14,MATCH(A2:A4&B2:B4,B8&C8,),MATCH(C1,A12:L12))

Is this doable? please help.
Id Code
Name
Jan
Feb
Mar
Apr
May
Jun
100001
Tom
#VALUE!
100064
John
100066
Joe
Id Code
100001
Tom
100064
John
100066
Joe
Jan
Feb
Mar
Apr
May
Jun
Hours
Dollars
Hours
Dollars
Hours
Dollars
Hours
Dollars
Hours
Dollars
Hours
Dollars
-
$ 10.00
-
$ 20.00
-
$ 40.00
-
$ 60.00
-
$ 80.00
-
$ 100.00

<tbody>
</tbody>
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Hi, please clarify.
What would be the expected result?
<style>table { }td { padding-top: 1px; padding-right: 1px; padding-left: 1px; color: black; font-size: 12pt; font-weight: 400; font-style: normal; text-decoration: none; font-family: Calibri,sans-serif; vertical-align: bottom; border: medium none; white-space: nowrap; }.xl64 { vertical-align: middle; white-space: normal; }.xl65 { text-align: right; vertical-align: middle; white-space: normal; }.xl66 { text-align: center; vertical-align: middle; white-space: normal; }</style>
Id Code
NameJanFebMarAprMayJun
100001Tom1020406080100
100064John1020406080100
100066Joe1020406080100

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,214,832
Messages
6,121,843
Members
449,051
Latest member
excelquestion515

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