ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   CountA formula with an IF statement (https://www.excelbanter.com/excel-worksheet-functions/6448-counta-formula-if-statement.html)

Teri

CountA formula with an IF statement
 
I have a worksheet with one column of names (and many more columns of data to
include months). I need to have a count on the bases of the name without
getting the data out of monthly sequence.

I have tried IF(a4:a20=John,CountA,0). This of course does not work. What
do I need to do?

Thanks
Teri

KL

Try this:

=COUNTIF($A$4:$A$20;"John")

Regards,
KL

"Teri" wrote in message
...
I have a worksheet with one column of names (and many more columns of data
to
include months). I need to have a count on the bases of the name without
getting the data out of monthly sequence.

I have tried IF(a4:a20=John,CountA,0). This of course does not work. What
do I need to do?

Thanks
Teri





All times are GMT +1. The time now is 11:08 AM.

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