Excel Formulas

  • Thread starter Thread starter Loss
  • Start date Start date
L

Loss

Hi All, I would like to do a Vlookup and a Hlookup
simulteanously done. is it possible

currently i am doing a Vlookup only, and i refrence the
columns by doing something like $A$D,2,False..

I do not want to do this anymore. Is there any way
 
So you want to pick out the correct column by matching on the header--and same
thing for the correct row?

Here's a formula stolen from Peo Sjoblom (and others):

=INDEX(Table,MATCH(A1,INDEX(Table,,1),0),MATCH(B1,INDEX(Table,1,),0))

If you create a range name referring to your cross reference table
(Insert|Name|Define) and call it Table, it'll make your typing life a little
easier. (But you could use the address (Sheet2!$a$1:$x$9999) in place of Table
in the formula.

And A1 will hold the value to match on the column (to get the right row) and B1
will be used to get the correct column.
 

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

Back
Top