A lookup challenge!

dmat1984

New Member
Joined
Jul 28, 2011
Messages
6
I'm new to this forum but have been using the website a long time. You guys are a great help.

Here is my problem that I hope someone can help me figure out:

The spreadsheet contains two different tabs.

First tab:
______product1 product2 product3 product4 product5...
name1
name2
name3


Second tab:
name1 product1 amount
______product2 amount
______product3 amount
______product4 amount
______product5 amount

name2 product1 amount
______product2 amount
______product3 amount
______product4 amount
______product5 amount

name3 product1 amount
______product2 amount
______product3 amount
______product4 amount
______product5 amount

Is there a way I can pull the amount from the second tab into the first tab if the name and the product match up? I am getting confused because it is column and row criteria on the first tab vs a two column criteria on the second tab.

Anybody know how to make this work? I've tried sumif, sumproduct, vlookups, hlookups and match's. I can't seem to get it. Please help!
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,224,530
Messages
6,179,373
Members
452,907
Latest member
Roland Deschain

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