Two way horizontal lookup

ron.bo

Board Regular
Joined
Mar 15, 2011
Messages
129
Office Version
  1. 2007
Platform
  1. Windows
In column A I have "TYPE" column B "PART" and Column C "QTY". In G1 I have TYPE and in H1 PART. I need a foumula that when i enter the type and part in G1 and H1 it will return the Qty in I1

It should be real easy but I can not find an answer. Maybe I am going aobut it wrong but I have been try use index and match on two columns.

Any help is appreciated.

Ron
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Three questions that will determine the right approach:

1) Is your data unique at the Part/Type level? Or, is the same Part/Type combination listed multiple times and you're looking for the sum of the Qty column for that criteria?

2) Are you only looking up one Part/Type at a time? Or, are you looking for a formula you can copy down through a table that has different iterations listed?

3) Which version of Excel are you using?
 
Upvote 0
It is unique and does not need a sum 2. it will be copied down and I am using 2003.

Thanks,
Ron
 
Upvote 0
I think the problem is in it being unique. The combination of the two are unique but in the "Type" column they are not unique and some of the parts are not unique to the type. But the combination of the two is unique.

Examples;


A ab
A bc
A de
A fg
B hi
B jk
B ab

Ron
 
Upvote 0

Forum statistics

Threads
1,224,590
Messages
6,179,752
Members
452,940
Latest member
rootytrip

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