Lookup 3 different items & return the value that they match

Helen

Board Regular
Joined
Feb 19, 2002
Messages
103
I have a huge spreadsheet that I need to do a lookup on. I have a table of months, and I need to lookup 3 different things (e.g. a part no & the customer & the type set), and when those three match return the column reference that I specify.

Can this be done?

thanks for your help
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
I had a similar Problem and inserted an extra column into my table. Then concatenated the columns I wanted to look up and did a lookup (sumif?) on this concatenated column.

Hope this helps
 
Upvote 0
I actually got another method to this problem which works a treat, they e-mailed me at home because they couldn't post the answer - so here it is for anyone else that could use the help:

If I understand your requirement you can do this with SUMPRODUCT.
As an example, put the part# to be looked up in B1, the customer in B2,
and the type set in B3. Then assuming your table starts in A6 with the 4
columns
enter this formula in B4:

=SUMPRODUCT((A6:A200=B1)*(B6:B200=B2)*(C6:C200=B3),D6:D200)

If your conditions are met it will give you the value in the fourth column.

CHORDially,
Art Farrell
 
Upvote 0
Helen,

> I actually got another method to this problem which works a treat, they e-mailed me at home because they couldn't post the answer - so here it is for anyone else that could use the help:

That's kind of you, but see also the Archives for "Multiconditional Sum" and specifically

http://www.mrexcel.com/wwwboard/messages/8961.html

Aladin


On 2002-03-05 14:04, Helen wrote:
I actually got another method to this problem which works a treat, they e-mailed me at home because they couldn't post the answer - so here it is for anyone else that could use the help:

If I understand your requirement you can do this with SUMPRODUCT.
As an example, put the part# to be looked up in B1, the customer in B2,
and the type set in B3. Then assuming your table starts in A6 with the 4
columns
enter this formula in B4:

=SUMPRODUCT((A6:A200=B1)*(B6:B200=B2)*(C6:C200=B3),D6:D200)

If your conditions are met it will give you the value in the fourth column.

CHORDially,
Art Farrell
 
Upvote 0

Forum statistics

Threads
1,223,383
Messages
6,171,772
Members
452,423
Latest member
Rene M

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