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/114746-counta.html)

Michell Major

COUNTA()
 
My formula =IF(T2=1/1/2006,"D",IF(T2="","")) displays the D but COUNTA
totals all the formulae and not the values?

Bob Phillips

COUNTA()
 
Use

=COUNTIF(X:X,"D")

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Michell Major" wrote in message
...
My formula =IF(T2=1/1/2006,"D",IF(T2="","")) displays the D but COUNTA
totals all the formulae and not the values?




vezerid

COUNTA()
 
Use COUNT(range)-COUNTBLANK(range)

HTH
Kostis Vezerides


Michell Major wrote:
My formula =IF(T2=1/1/2006,"D",IF(T2="","")) displays the D but COUNTA
totals all the formulae and not the values?



David Biddulph

COUNTA()
 
If you look at the help for the COUNTA function you'll find that it does
count empty text (""), but not a totally empty cell.
--
David Biddulph

"Michell Major" wrote in message
...
My formula =IF(T2=1/1/2006,"D",IF(T2="","")) displays the D but COUNTA
totals all the formulae and not the values?




Michell Major

COUNTA()
 
Thanks so much!!

"Bob Phillips" wrote:

Use

=COUNTIF(X:X,"D")

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Michell Major" wrote in message
...
My formula =IF(T2=1/1/2006,"D",IF(T2="","")) displays the D but COUNTA
totals all the formulae and not the values?





Michell Major

COUNTA()
 

Many Thanks

"vezerid" wrote:

Use COUNT(range)-COUNTBLANK(range)

HTH
Kostis Vezerides


Michell Major wrote:
My formula =IF(T2=1/1/2006,"D",IF(T2="","")) displays the D but COUNTA
totals all the formulae and not the values?





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

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