ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Count formula (https://www.excelbanter.com/excel-worksheet-functions/9609-count-formula.html)

Vibha

Count formula
 
Hi,

I have text ABC, CDE in column A and this text in
repeated. I just want to count number of ABC and number
of CDE in the spreadsheet. It is a huge speradsheet, I
don't want to sort and do a manual count

Thanks

Peo Sjoblom

One way

=SUMPRODUCT(--(A2:A500={"ABC","CDE"}))


Regards,

Peo Sjoblom

"Vibha" wrote:

Hi,

I have text ABC, CDE in column A and this text in
repeated. I just want to count number of ABC and number
of CDE in the spreadsheet. It is a huge speradsheet, I
don't want to sort and do a manual count

Thanks


JE McGimpsey

One way:

=SUM(COUNTIF(A:A,{"ABC","CDE"})

In article ,
"Vibha" wrote:

Hi,

I have text ABC, CDE in column A and this text in
repeated. I just want to count number of ABC and number
of CDE in the spreadsheet. It is a huge speradsheet, I
don't want to sort and do a manual count

Thanks



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

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