General way:
=(LEN(A1) - LEN(SUBSTITUTE(A1,"text","")))/LEN("text")
Specifically:
=LEN(A1) - LEN(SUBSTITUTE(A1,"A",""))
and
=(LEN(A1) - LEN(SUBSTITUTE(A1,"BC","")))/2
In article
<81db02c7-6746-46c6-b609-a1ee62c4574b@e6g2000prf.googlegroups.com>,
> Hello all,
>
[quoted text clipped - 3 lines]
> letters, how many times does the letter A occur, or the pair BC, and
> so on?