How to pull information from table with multiple variables?

Insomnia81

New Member
Joined
Dec 16, 2015
Messages
5
qz2W3DF.png


What I'm trying to do is have a formula return a correct value in the "H" column depending on "Item #" and "Location". The numbers 1-7 on the table at the bottom are the "Item #". So for example cell H2 should be "15" from cell D7.

I assume this has to be done with index and match, but I'm not too familiar with the formula. I tried a combo of v and h lookups, but I got a huge mess where I couldn't find the error.
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Try this in H2 and drag down .... =INDEX($A$5:$H$7,MATCH($D1,$A$5:$A$7),MATCH($A1,$A$5:$H$5))

Kind regards,

Chris
 
Upvote 0

Forum statistics

Threads
1,215,492
Messages
6,125,116
Members
449,206
Latest member
burgsrus

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