A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Charts and Charting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

need a formula



 
 
Thread Tools Display Modes
  #1  
Old February 11th, 2004, 03:47 AM
Bill H.
external usenet poster
 
Posts: n/a
Default need a formula

Is there a formula that can return the last non-zero number in a column of
numbers?

I have a column of numbers that I add to daily, and I need to know the value
of the last number in that column for use in another formula.

Thanks!
--
Bill




  #2  
Old February 11th, 2004, 04:35 AM
Debra Dalgleish
external usenet poster
 
Posts: n/a
Default need a formula

The following formula will return the last non-zero number in cells
A1:A20 --

=INDEX(A:A,MAX((A1:A200)*ROW(INDIRECT("1:20"))))

It's an array formula -- type the formula in the cell, then hold the
Ctrl + Shift keys, and press the Enter key.

Bill H. wrote:
Is there a formula that can return the last non-zero number in a column of
numbers?

I have a column of numbers that I add to daily, and I need to know the value
of the last number in that column for use in another formula.

Thanks!



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #3  
Old February 11th, 2004, 07:45 AM
Bill H.
external usenet poster
 
Posts: n/a
Default need a formula

thanks!


"Debra Dalgleish" wrote in message
...
The following formula will return the last non-zero number in cells
A1:A20 --

=INDEX(A:A,MAX((A1:A200)*ROW(INDIRECT("1:20"))))

It's an array formula -- type the formula in the cell, then hold the
Ctrl + Shift keys, and press the Enter key.

Bill H. wrote:
Is there a formula that can return the last non-zero number in a column

of
numbers?

I have a column of numbers that I add to daily, and I need to know the

value
of the last number in that column for use in another formula.

Thanks!



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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