Lookups

A

Ann

I would like to look up 2 cells (A2:B2) in columns D and
F, and find the solution in Column G. I have used the
formula =VLookup(A2:B2,D:F,G) and it doesn't seem to like
my "D:F". Is there anyway to look for two cells in a
Lookup function or should I go about this another way?
Thanks as always for all of your help!!
 
P

Peo Sjoblom

One way, to be entered with ctrl + shift & enter

=INDEX(G2:G100,MATCH(1,(D2:D100=A2)*(F2:F100=B2),0))

adapt the ranges to fit your criteria
 

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