ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   COUNTIF cannot count decimal number occurences (https://www.excelbanter.com/excel-worksheet-functions/126988-countif-cannot-count-decimal-number-occurences.html)

Ignorasmus

COUNTIF cannot count decimal number occurences
 
Excel function COUNTIF cannot count decimal number occurences in an array.
Why? What to do?
Thanks

Gary''s Student

COUNTIF cannot count decimal number occurences
 
try something like:

=COUNTA(A1:A7)-COUNTIF(A1:A7,"-99^99")

where A1 thru A7 contain:
1
2
3
4
a
b
cd


will return 4 the number of numbers rather than text

--
Gary''s Student
gsnu200702


"Ignorasmus" wrote:

Excel function COUNTIF cannot count decimal number occurences in an array.
Why? What to do?
Thanks


Dave Peterson

COUNTIF cannot count decimal number occurences
 
Maybe you could just use:

=count(a1:a10)
to count the number of numbers.



Ignorasmus wrote:

Excel function COUNTIF cannot count decimal number occurences in an array.
Why? What to do?
Thanks


--

Dave Peterson


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

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