Hi
try
=SUMPRODUCT((LEN(A1:X1)-LEN(SUBSTITUTE(A1:X1,":",""))))

Signature
--
Regards
Frank Kabel
Frankfurt, Germany
> Could anyone tell how to sum up the number of times of a colon ":" appeared
> in a row.
>
> Thanks.
David McRitchie - 26 Oct 2004 16:39 GMT
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,":",""))))
Paul
=COUNTIF(1:1,CHAR(58))
Gord Dibben Excel MVP
>Could anyone tell how to sum up the number of times of a colon ":" appeared
>in a row.
>
>Thanks.