ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   HLookUp (https://www.excelbanter.com/excel-programming/333049-hlookup.html)

geb

HLookUp
 
I want to use the hlookup function but the data I need to look up
has the lookup value at the bottom row rather than the top.

(Find a match in the bottom row and return the values in the same column
for the 10 rows above the lookup value).

Can this be done?

Tom Ogilvy

HLookUp
 
=Index(A1:J1,1,match(Value,A10:J10,0))

--
Regards,
Tom Ogilvy

"GEB" wrote in message
...
I want to use the hlookup function but the data I need to look up
has the lookup value at the bottom row rather than the top.

(Find a match in the bottom row and return the values in the same column
for the 10 rows above the lookup value).

Can this be done?




geb

HLookUp
 
Tom,

This is what I was looking for.

Thanks.

"Tom Ogilvy" wrote:

=Index(A1:J1,1,match(Value,A10:J10,0))

--
Regards,
Tom Ogilvy

"GEB" wrote in message
...
I want to use the hlookup function but the data I need to look up
has the lookup value at the bottom row rather than the top.

(Find a match in the bottom row and return the values in the same column
for the 10 rows above the lookup value).

Can this be done?






All times are GMT +1. The time now is 05:38 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com