Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3,101
Default display last value in a column

I would like to display the last value unequal to zero recorded in a column
in a specific cell. For example, A1 is to display the last value unequal to
zero recorded in column B. The number of entries and values in column B
changes frequently; therefore the last value in column B is in a different
row.

Thanks.
--
Mike
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default display last value in a column

Try this...

Assuming there are no logical TRUE entries in the range.

=LOOKUP(1E100,1/B2:B100,B2:B100)

--
Biff
Microsoft Excel MVP


"Mike" wrote in message
...
I would like to display the last value unequal to zero recorded in a column
in a specific cell. For example, A1 is to display the last value unequal
to
zero recorded in column B. The number of entries and values in column B
changes frequently; therefore the last value in column B is in a different
row.

Thanks.
--
Mike



  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 5,651
Default display last value in a column

On Sat, 5 Dec 2009 20:03:01 -0800, Mike wrote:

I would like to display the last value unequal to zero recorded in a column
in a specific cell. For example, A1 is to display the last value unequal to
zero recorded in column B. The number of entries and values in column B
changes frequently; therefore the last value in column B is in a different
row.

Thanks.



=LOOKUP(2,1/(B:B<0),B:B)
--ron
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
How to display the column name? Eric Excel Discussion (Misc queries) 9 November 14th 08 02:09 PM
Display cells(text) in one column based on cells which are present inother column [email protected] Excel Discussion (Misc queries) 1 May 12th 08 01:40 PM
Based on a condition in one column, search for a year in another column, and display data from another column in the same row look [email protected] Excel Discussion (Misc queries) 1 December 27th 06 05:47 PM
Display missing Part Number if Column A does not match column B Erik T Excel Worksheet Functions 2 April 17th 06 11:23 PM
find value in column F, then display value in column A of that row rc Excel Worksheet Functions 7 March 22nd 06 02:18 AM


All times are GMT +1. The time now is 05:30 PM.

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"