ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Formula (https://www.excelbanter.com/excel-discussion-misc-queries/258362-formula.html)

Bobbybee

Formula
 
Hi out there,

I am wishing to add a group of data which is in a column but the data is
TEXT ONLY.

i.e I have a column which contains the text YES and NO. I wish to add all
the fields containing YES without having to create another column which makes
the text into a number using say an IF formula then adding that column.

Is that possible or do I have to change the text to a number using
validation or IF formula?

T. Valko

Formula
 
Try these...

=COUNTIF(A1:A10,"yes")

=COUNTIF(A1:A10,"no")

--
Biff
Microsoft Excel MVP


"Bobbybee" wrote in message
...
Hi out there,

I am wishing to add a group of data which is in a column but the data is
TEXT ONLY.

i.e I have a column which contains the text YES and NO. I wish to add all
the fields containing YES without having to create another column which
makes
the text into a number using say an IF formula then adding that column.

Is that possible or do I have to change the text to a number using
validation or IF formula?





All times are GMT +1. The time now is 04:30 PM.

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