ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Countif (https://www.excelbanter.com/excel-worksheet-functions/16643-countif.html)

Natalie

Countif
 
How do I say count "S" and "I" and "R"?

Roger H.

Hello. One method
.....=COUNTIF(Range,"S")+COUNTIF(Range,"I")+COUNTI F(Range,"R") "Range" is the
cluster of cells from which you need to pluck the count.
"Natalie" wrote in message
...
How do I say count "S" and "I" and "R"?




Don Guillett

try
=sumproduct((a1:a21={"s","i","r"})*1)

--
Don Guillett
SalesAid Software

"Natalie" wrote in message
...
How do I say count "S" and "I" and "R"?




RagDyeR

Another option is:

=SUM(COUNTIF(A1:A100,{"S","I","R"}))

--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================

"Natalie" wrote in message
...
How do I say count "S" and "I" and "R"?




All times are GMT +1. The time now is 09:03 AM.

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