Mulitple lookup from two column headers and one row criteria

Shawn09

Board Regular
Joined
May 13, 2005
Messages
77
Office Version
  1. 365
Platform
  1. Windows
Looking for a formula that will grab from the Data Table based on the sales channels (Catering/Delivery/RPU) and Period/Year from the columns and then from the restaurant number from the rows. I've tried various sumproduct/index/match formulas and just can't seem to get it right. Any help would be appreciated. Thanks!

Assuming the formula result of 57,623 is in cell C4 and looking in the data table range of J4:R7.

1590109826573.png
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
How about
=index($J$4:$R$7,match($B4,$I$4:$I$7,0),match(C$2&"|"&C$3,index($J$2:$R$2&"|"&$J$3:$R$3,0),0))
 
Upvote 0
How about
=index($J$4:$R$7,match($B4,$I$4:$I$7,0),match(C$2&"|"&C$3,index($J$2:$R$2&"|"&$J$3:$R$3,0),0))
Perfect! Thank you! I see what I was doing wrong. I love this site!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,562
Messages
6,125,546
Members
449,237
Latest member
Chase S

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