Thread: Reset Counter
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Ed
 
Posts: n/a
Default Reset Counter

Hello,

In Column A, I have this list of 1's and empty cells*, i would like to have
in column B a function that gives me the next result:

*A1=1 B=1
*A2=1 B=2
*A3=1 B=3
*A4="" B=""
*A5=1 B=1
*A6=1 B=2
*A7="" B=""
*A8=1 B=1
*A9=1 B=2
*A10=1 B=3

It would be like a counter that tells me the number of times 1 has appeared
so far, but when it reaches: "" it restarts and goes on again.

,thanks