View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
suzie
 
Posts: n/a
Default How do I count crossing zero in a column of integers?

I have a very long column of data which moves from positive to negative. I
want to count the occasions where it crosses zero, but am having trouble
writing a formula for this condition. Is there a way I can automatically
compare consecutive cells in the column to identify whether it has changed
from negative to positive?