HELP with Looking Up 2 Condition

mova

New Member
Joined
Aug 25, 2006
Messages
14
I am having difficulty creating a function that will lookup 2 values and return another.

For example:
Apple Red Delicious 1
Macinotsh 2
Granny Smith 3

want to match with:
Apple, Macintosh and retun the value 2

I want to create a lookup funtion that looks up the first column, then the 2nd column and if both match then return the value in the 3rd column

Please help!
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
i am doing this from 2 different worksheets and pulling data from a pivot table

for example,
apple mac 1
apple red d 2
apple granny 3
orange orange 3
grapefruit grape 4

that is the data one one page
the page where i want the formula is similar, but without the #
so the list will be
apple mac
apple re d
apple granny
orange orange
grapefruit grape

and i want it to pull the number from the other worksheet that matches both column A and B[/img][/code]
 
Upvote 0
Aladin - I tried the formula, and it seems to work for my top entry but when i copy the formula down it is returning the same value. I am not sure why!

You should have a closer look at the exhibit, which is based on your initial post, and the formulas. If your layout is indeed like the one in your initial post, what I suggested would exactly meet your needs.
 
Upvote 0

Forum statistics

Threads
1,215,603
Messages
6,125,786
Members
449,259
Latest member
rehanahmadawan

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