Multiple condition vlookup-type problem

NicholasP

Active Member
Joined
Nov 18, 2006
Messages
291
I'm having a hard time conceptualizing this formula...Basically I'm trying to get a via 2 conditions like a vlookup..

The formula would look for the first instance where the value in column A was "A" and the value in column B is "Type1"...so the formula would return the value "10"...

Any suggestions would be greatly appreciated.

Thanks
Nick
Book1
ABCD
1AType110
2BType210
3CType110
4DType210
5AType210
6BType110
7CType210
8DType110
9AType110
10BType210
11CType110
12DType210
Sheet1
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Hi,

You can't do that with VLOOKUP().

Try this array formula instead:
Code:
=INDEX(C1:C12,MATCH(1,(A1:A12="A")*(B1:B12="Type1"),0))

When the formula is entered into the formula bar, you must complete the entry with CTRL+SHIFT+ENTER, not just ENTER, so that braces { } are inserted around the formula.

Hope that helps,
 
Upvote 0
Ahh....nice application of Index/Match. I couldn't figure out how I could apply that and didn't think of an array formula...

Very nice -- Thanks
Nick
 
Upvote 0

Forum statistics

Threads
1,203,096
Messages
6,053,516
Members
444,669
Latest member
Renarian

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