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.
<tbody>
</tbody>
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>