Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 65
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 340
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cell References [email protected] Excel Discussion (Misc queries) 2 November 15th 06 11:37 PM
where to put results of find operation in find and replace functio DEP Excel Worksheet Functions 5 November 15th 06 07:52 PM
need to Copy or Move to active cell from specified range kaream Excel Discussion (Misc queries) 2 December 14th 05 08:12 AM
find the cell above any number in any range steve alcock Excel Worksheet Functions 12 May 27th 05 05:48 AM
find numbers in a range that add to a specific value Brett Excel Discussion (Misc queries) 1 December 20th 04 01:55 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"