ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   count text (https://www.excelbanter.com/excel-discussion-misc-queries/16565-count-text.html)

Dr. Sachin Wagh

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

Please help
--
Dr. Sachin Wagh
MBBS, DHA, DPH

Biff

Hi!

Try this:

=COUNTIF(A1:U5,"A")

Biff

-----Original Message-----
How do I count the number of times "A" (text) apears in

range A1:U5

Please help
--
Dr. Sachin Wagh
MBBS, DHA, DPH
.


Rowan

=COUNTIF(A1:U5,"A")

Rowan

"Dr. Sachin Wagh" wrote:

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

Please help
--
Dr. Sachin Wagh
MBBS, DHA, DPH


Dr. Sachin Wagh

Thanx Biff & Rowan

"Rowan" wrote:

=COUNTIF(A1:U5,"A")

Rowan

"Dr. Sachin Wagh" wrote:

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

Please help
--
Dr. Sachin Wagh
MBBS, DHA, DPH


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)


"Biff" wrote in message
...
Hi!

Try this:

=COUNTIF(A1:U5,"A")

Biff

-----Original Message-----
How do I count the number of times "A" (text) apears in

range A1:U5

Please help
--
Dr. Sachin Wagh
MBBS, DHA, DPH
.





All times are GMT +1. The time now is 04:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com