Vlookup based on valid match of mutiple columns

G

Guest

Is there a way to do a vlookup based on a valid match of 2 values on seperate
columns?

Example Data.....
3/12/07 3110 23.23
3/13/07 3110 555.21
3/14/07 3110 46.01

I want to lookup based on a match criteria of 3/13/07 and 3110 and return
the value of 555.21

I know that I could concatenate the 2 columns and do a lookup of the
concatenated column, but I would like to keep the data as it was originally
submitted.

I know it would work that way, but I would like to learn if it could be done
differently without that step.

Thank you in advance for any and all input.
 
G

Guest

=SUMPRODUCT(--(A1:A100=--"3/13/07"),--(B1:B100=3110),C1:C100)

or

=INDEX(C1:C100,MATCH(1,(A1:A100=--"3/13/07")*(B1:B100=3110),0))

The second formula required ctrl+shift+enter, not just enter
 
G

Guest

It stills needs to be some form of a lookup though. The resulting matching
row is not known. My sample criterea is going to be dynamic.
 
G

Guest

Sorry, didn't understand that the lookup was a requirement. See teethless
mama's response.

Dave
 
G

Guest

Not sure why I would do a multiplication operation when I am trying to
retrieve the value of a different column in that same row.

I will try it though....

It does work, Thanks!

Just seems to be a little misleading to read.
 
P

Pete_UK

For the multiply symbol read AND, i.e.:

if (A1:A100=--"3/13/07") AND (B1:B100=3110) then use this in the match
function as you cycle through each cell in the range.

Hope this helps.

Pete
 

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

Top