counting changes in values in a column

  • Thread starter Thread starter Rich
  • Start date Start date
R

Rich

I have a column in a spreadsheet that I want to count the
number of times the values changes. It repeats a value
for a range, changes, then changes back, changes to
another value, changes back, and so on. I can count the
number of unique numbers with something like "=SUM(IF
(FREQUENCY(P3:P1000,P3:P1000)>0,1))", but some of the
entries repeat, and I want to know how many times the
value changes, even if it repeats a number again. thanks.
 
Hi
another way withou using a helper column would be
=SUMPRODUCT(--(A2:A100<>A1:A99))
assumptions: your values are stored in the range A1:A100
 
Back
Top