Vlookup with three criterias

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 guys,

Can you tell me how to use Vlookup with three criterias to find?
Like this...

Book1
ABCD
2FYZResult1
3ASDResult2
4XYZResult3
5RTYResult4
6____
7XYZResult3
Sheet1

We want to lookup X, Y, Z.

This array formula** entered in D7:

=INDEX(D2:D5,MATCH(1,IF(A2:A5=A7,IF(B2:B5=B7,IF(C2:C5=C7,1))),0))

** array formulas need to be entered using the key
combination of CTRL,SHIFT,ENTER (not just ENTER).
Hold down both the CTRL key and the SHIFT key
then hit ENTER.
 
Upvote 0
Hi there, i am not an expert. Just here to learn. I think you can also try the following array formula by pressing Ctrl+Shift+Enter

=INDEX($D$1:$D$4,MATCH($A$6&$B$6&$C$6,$A$1:$A$4&$B$1:$B$4&$C$1:$C$4,0))
 
Upvote 0
Hi there, i am not an expert. Just here to learn. I think you can also try the following array formula by pressing Ctrl+Shift+Enter

=INDEX($D$1:$D$4,MATCH($A$6&$B$6&$C$6,$A$1:$A$4&$B$1:$B$4&$C$1:$C$4,0))

Sorry for worng cell references. Here it is again
=INDEX($D$2:$D$5,MATCH($A$7&$B$7&$C$7,$A$2:$A$5&$B$2:$B$5&$C$2:$C$5,0))
 
Upvote 0
Hi there, i am not an expert. Just here to learn. I think you can also try the following array formula by pressing Ctrl+Shift+Enter

=INDEX($D$1:$D$4,MATCH($A$6&$B$6&$C$6,$A$1:$A$4&$B$1:$B$4&$C$1:$C$4,0))
Yes, that will also work but concatenating the ranges is not as efficient as using the nested IF fversion especially on large ranges.
 
Upvote 0
I want to use the above formula with 2 criterias, I modified the formula accordingly but it is not working. Please help me correct it...

=INDEX(Sheet2!G2:G110511,MATCH(1,IF(Sheet2!E2:E110511=A2,if(Sheet2!F2:F110511=B2))),0))
 
Upvote 0

Forum statistics

Threads
1,223,939
Messages
6,175,532
Members
452,651
Latest member
wordsearch

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