sum up number of times a colon ":" in a row

  • Thread starter Thread starter paul
  • Start date Start date
P

paul

Could anyone tell how to sum up the number of times of a colon ":" appeared
in a row.

Thanks.
 
You can drop the leftmost and rightmost parens of Frank's reply
=SUMPRODUCT(LEN(A1:X1)-LEN(SUBSTITUTE(A1:X1,":","")))
instead of
=SUMPRODUCT((LEN(A1:X1)-LEN(SUBSTITUTE(A1:X1,":",""))))
 
Back
Top