Thread: reset to zero
View Single Post
  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Assume the numbers are in the range A1:An

Enter this formula in B1:

=(A10)*1

Enter this formula in B2 and copy down as needed:

=IF(A2=0,0,B1+1)

Biff

"baldyheed" wrote
in message ...

i need to keep a running total of a random series of numbers in a column
and when a zero appears i need it reset to zero and start counting again
from the next number, hope i explained this as easy as possible? thanks
for any help.


--
baldyheed
------------------------------------------------------------------------
baldyheed's Profile:
http://www.excelforum.com/member.php...o&userid=27721
View this thread: http://www.excelforum.com/showthread...hreadid=472366