![]() |
How do I count the number of times a particular charcter ("." say)
How do I count the number of times a particular charcter ("." say) appears in
a cell. For example, ABC.1.21.31.2 should retun 4. Is there a formula? |
=LEN(A1)-LEN(SUBSTITUTE(A1,".",""))
-- HTH RP (remove nothere from the email address if mailing direct) "RH" wrote in message ... How do I count the number of times a particular charcter ("." say) appears in a cell. For example, ABC.1.21.31.2 should retun 4. Is there a formula? |
How do I count the number of times a particular charcter ("."
"Bob Phillips" wrote: =LEN(A1)-LEN(SUBSTITUTE(A1,".","")) -- HTH RP (remove nothere from the email address if mailing direct) "RH" wrote in message ... How do I count the number of times a particular charcter ("." say) appears in a cell. For example, ABC.1.21.31.2 should retun 4. Is there a formula? |
All times are GMT +1. The time now is 03:26 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com