Offset Hlookup result

  • Thread starter Thread starter Dianne
  • Start date Start date
D

Dianne

How can I offset Hlookup result or another formula to
return the values in columns B (sum of A for Name1) or
Columns D (sum of C for Name2) without having to insert
headings into B and D? the result I would like to see:

the result of HLOOKUP(Name1,Data,5,FALSE) on offset
one column to the right = $950 (ref B5) on Sheet 2.

Sheet 1:

A B C D
Name1 Name2
100 150
250 300
600 400
950 850

Thank you in advance.

Dianne
 
You can't you have to use another formula


=HLOOKUP(Name1,Data,5,0)

can be replaced by

=INDEX(Table,5,MATCH(Name1,INDEX(Table,1,),0)+1)

+1 will offset the lookup with one column to the right
 
Thank You!
-----Original Message-----
You can't you have to use another formula


=HLOOKUP(Name1,Data,5,0)

can be replaced by

=INDEX(Table,5,MATCH(Name1,INDEX(Table,1,),0)+1)

+1 will offset the lookup with one column to the right


--

Regards,

Peo Sjoblom





.
 
Back
Top