count text

  • Thread starter Dr. Sachin Wagh
  • Start date
D

Dr. Sachin Wagh

How do I count the number of times "A" (text) apears in range A1:U5

Please help
 
B

Bob Phillips

If there could be more than one instance per cell, you can use

=SUMPRODUCT((LEN(A1:U5)-LEN(SUBSTITUTE(A1:U5,"A","")))/LEN("A"))

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
Top