ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   I need Help with a count cell text formula (https://www.excelbanter.com/excel-worksheet-functions/238230-i-need-help-count-cell-text-formula.html)

Excel ??[_2_]

I need Help with a count cell text formula
 
Dear all, can anyone please please give me a formula or how do I add cells
that contatin text not numbers? I want to be able to add each cell that
contains text and for those that are blank of course not to be added to my
sum. thank you all I hope I made sense.
--
2

Mike H

I need Help with a count cell text formula
 
Try this

=SUMPRODUCT(--(ISTEXT(A1:A100)))

Mike

"Excel ??" wrote:

Dear all, can anyone please please give me a formula or how do I add cells
that contatin text not numbers? I want to be able to add each cell that
contains text and for those that are blank of course not to be added to my
sum. thank you all I hope I made sense.
--
2


Dave Peterson

I need Help with a count cell text formula
 
Another:

=counta(a1:b99) - count(a1:b99)

=counta() will count all the non-empty cells (even cells with formulas that
evaluate to "")

=count() will count the numeric cells.



Excel ?? wrote:

Dear all, can anyone please please give me a formula or how do I add cells
that contatin text not numbers? I want to be able to add each cell that
contains text and for those that are blank of course not to be added to my
sum. thank you all I hope I made sense.
--
2


--

Dave Peterson

RagDyeR

I need Help with a count cell text formula
 
This will count TEXT, *including* nulls ( "", zero length strings):

=COUNTIF(A:A,"*")

This will *not* count nulls:

=COUNTIF(A:A,"*?")


--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Excel ??" wrote in message
...
Dear all, can anyone please please give me a formula or how do I add cells
that contatin text not numbers? I want to be able to add each cell that
contains text and for those that are blank of course not to be added to my
sum. thank you all I hope I made sense.
--
2




Shane Devenshire[_2_]

I need Help with a count cell text formula
 
I suspect you mean count not sum:

=COUNTA(A1:A9)

But if the cells contain numbers this will also count them. Don't know if
that is an issue?

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Excel ??" wrote:

Dear all, can anyone please please give me a formula or how do I add cells
that contatin text not numbers? I want to be able to add each cell that
contains text and for those that are blank of course not to be added to my
sum. thank you all I hope I made sense.
--
2



All times are GMT +1. The time now is 10:31 PM.

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