Vlookup

L

Little Penny

Is it possible to use vlookup to return a value if a second cell meets
a certain condition?

For example

A1 -1 B2-2 C3-3 D4-4 H1-?
A2- 1 B2-7 C2-8 D2-9


I want to vlookup the number 1 in column A and return the value in
column cell H1 where column D has a value of 9

In this case it would return the number 9

Or is the some other way to do this


Thanks
 
G

Guest

Assuming your data is in a1:h100, try
=INDEX(H1:H100, MATCH(1&" "&9, A1:A100&" "&D1:D100,0))
array entered w/Cntrl+Shift+Enter.

You could set your criteria up as a reference
I1 =1
J1 = 9

=INDEX(H1:H100, MATCH(I1&" "&J1, A1:A100&" "&D1:D100,0))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Vlookup 2 conditiona 12
VLOOKUP problem 3
VLOOKUP fORMULA 4
MATCH, Vlookup whatever 3
vlookup useful? 2
if condition on currency formated cells 4
A different kind of VLookup 8
Average problem 1

Top