ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How to look up a value? (https://www.excelbanter.com/excel-discussion-misc-queries/136552-re-how-look-up-value.html)

BoniM

How to look up a value?
 
=VLOOKUP(MAX(A2:A20),A2:B20,2,FALSE)

The vertical look up function finds a value in the first column of your
table and will return a value from the specified column of that row. The
above formula is looking for the largest value in the range A2:A20 and
finding a match in the table that's in the range A2:B20. Then it's returning
the text from the second column (B) that's on the same row. Because we want
only an exact match, the range lookup value is FALSE.

"Eric" wrote:

There are 2 lists of value under Column A & B,
Does anyone have any suggestions on how to look up the largest value under
column B and return the value on the same row on column A.
Thank you for any suggestion
Eric



All times are GMT +1. The time now is 02:58 PM.

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