Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
ACEACE
 
Posts: n/a
Default In a column of numbers, how do I return the last non-zero number?

That is the bottom-most non-zero number?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default In a column of numbers, how do I return the last non-zero number?

Hi!

In a column of numbers


Try this:

=LOOKUP(2,1/(A1:A10<0),A1:A10)

Biff

"ACEACE" wrote in message
...
That is the bottom-most non-zero number?



  #3   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default In a column of numbers, how do I return the last non-zero numb

That seems to return only the value in A10.........

Perhaps this........
=SMALL(A1:A10,COUNTIF(A1:A10,0)+1)

Vaya con Dios,
Chuck, CABGx3





"Biff" wrote:

Hi!

In a column of numbers


Try this:

=LOOKUP(2,1/(A1:A10<0),A1:A10)

Biff

"ACEACE" wrote in message
...
That is the bottom-most non-zero number?




  #4   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default In a column of numbers, how do I return the last non-zero numb

Screencap:

http://img519.imageshack.us/img519/1...nonzero6xy.jpg

Biff

"CLR" wrote in message
...
That seems to return only the value in A10.........

Perhaps this........
=SMALL(A1:A10,COUNTIF(A1:A10,0)+1)

Vaya con Dios,
Chuck, CABGx3





"Biff" wrote:

Hi!

In a column of numbers


Try this:

=LOOKUP(2,1/(A1:A10<0),A1:A10)

Biff

"ACEACE" wrote in message
...
That is the bottom-most non-zero number?






  #5   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default In a column of numbers, how do I return the last non-zero numb

My apology.......I kept reading "the bottom-most non-zero number" as being
"the smallest non-zero number".........

Vaya con Dios,
Chuck, CABGx3


"Biff" wrote:

Screencap:

http://img519.imageshack.us/img519/1...nonzero6xy.jpg

Biff

"CLR" wrote in message
...
That seems to return only the value in A10.........

Perhaps this........
=SMALL(A1:A10,COUNTIF(A1:A10,0)+1)

Vaya con Dios,
Chuck, CABGx3





"Biff" wrote:

Hi!

In a column of numbers

Try this:

=LOOKUP(2,1/(A1:A10<0),A1:A10)

Biff

"ACEACE" wrote in message
...
That is the bottom-most non-zero number?






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
Column() to return a letter instead of a number? cKBoy Excel Worksheet Functions 16 February 17th 06 04:50 AM
SEeing if a number in one column is in another column Ricki Miles Excel Discussion (Misc queries) 4 February 16th 06 11:04 PM
How do I extract 3 numbers inside a longer number to another column ? Dbase Beginner Excel Discussion (Misc queries) 2 January 20th 06 05:39 PM
creating a bar graph Johnfli Excel Discussion (Misc queries) 0 October 26th 05 08:16 PM
Count Intervals of 1 Numeric value in a Row and Return Count down Column Sam via OfficeKB.com Excel Worksheet Functions 8 October 4th 05 04:37 PM


All times are GMT +1. The time now is 01:42 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"