ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   counta (https://www.excelbanter.com/excel-discussion-misc-queries/16317-counta.html)

rabol

counta
 
Hi

According to microsoft.com and the online help =COUNTA(A1:A7,"Two") should
give you the number of rows containing "Two", but all you get when you try
the above is a Formula error !

What do I miss ?

Thanks in advance.
Steen


tjtjjtjt

You should be using COUNTIF instead.
=COUNTIF(A1:A7,"Two")

tj

"rabol" wrote:

Hi

According to microsoft.com and the online help =COUNTA(A1:A7,"Two") should
give you the number of rows containing "Two", but all you get when you try
the above is a Formula error !

What do I miss ?

Thanks in advance.
Steen


Bob Phillips

It is also the number of cells, not rows. Subtle, but relevant.

--

HTH

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


"tjtjjtjt" wrote in message
...
You should be using COUNTIF instead.
=COUNTIF(A1:A7,"Two")

tj

"rabol" wrote:

Hi

According to microsoft.com and the online help =COUNTA(A1:A7,"Two")

should
give you the number of rows containing "Two", but all you get when you

try
the above is a Formula error !

What do I miss ?

Thanks in advance.
Steen





All times are GMT +1. The time now is 05:38 PM.

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