Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Find the bottom cell that contains a specific val in a range?
I have a list of names on column 1 and a list of corresponding numeric values
on column 2. Some of the names appear more than once on the list, but their values change. The list is a stack which is constantly added to and cannot be sorted. I need to find the most bottom cell within the list in which a name appears. This is required so that I can use VLOOKUP to retrieve its most up-to-date (lowest on the list) numeric value. The problem with using VLOOKUP for the task is that it returns the FIRST value it finds in the range and not the last. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Find the bottom cell that contains a specific val in a range?
How about the array formula:
=INDEX(B:B,MAX(IF(A1:A16="Wally",ROW(A9:A16)))) commit it by pressing Ctrl-Shift-Enter this will return the value in column B in the same row where the LAST entry for Wally appears in column A "Amit" wrote: I have a list of names on column 1 and a list of corresponding numeric values on column 2. Some of the names appear more than once on the list, but their values change. The list is a stack which is constantly added to and cannot be sorted. I need to find the most bottom cell within the list in which a name appears. This is required so that I can use VLOOKUP to retrieve its most up-to-date (lowest on the list) numeric value. The problem with using VLOOKUP for the task is that it returns the FIRST value it finds in the range and not the last. |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Find the bottom cell that contains a specific val in a range?
=LOOKUP(2,1/(A1:A16="wally"),B1:B16)
On Jan 24, 12:29 pm, Amit wrote: I have a list of names on column 1 and a list of corresponding numeric values on column 2. Some of the names appear more than once on the list, but their values change. The list is a stack which is constantly added to and cannot be sorted. I need to find the most bottom cell within the list in which a name appears. This is required so that I can use VLOOKUP to retrieve its most up-to-date (lowest on the list) numeric value. The problem with using VLOOKUP for the task is that it returns the FIRST value it finds in the range and not the last. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Cell References | Excel Discussion (Misc queries) | |||
where to put results of find operation in find and replace functio | Excel Worksheet Functions | |||
need to Copy or Move to active cell from specified range | Excel Discussion (Misc queries) | |||
find the cell above any number in any range | Excel Worksheet Functions | |||
find numbers in a range that add to a specific value | Excel Discussion (Misc queries) |