ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How can I caculate text in a column? (https://www.excelbanter.com/excel-discussion-misc-queries/82662-how-can-i-caculate-text-column.html)

Calculation of Text

How can I caculate text in a column?
 
I have columns where I have used X's as tick marks. X=1, XX=2, XXX=3, etc.
Can these be added up like #'s in the column?

Don Guillett

How can I caculate text in a column?
 
try
=countif(a:a,"x")

--
Don Guillett
SalesAid Software

"Calculation of Text" <Calculation of
wrote
in message ...
I have columns where I have used X's as tick marks. X=1, XX=2, XXX=3, etc.
Can these be added up like #'s in the column?




Kevin B

How can I caculate text in a column?
 
You can use the length function to determine the number of characters in the
cell and then sum those values.

The formula below sums the length of the value in A2, to the lengths of the
value in A3 and so on.

=SUM(LEN(A2),LEN(A3),LEN(A4),LEN(A5))
--
Kevin Backmann


"Calculation of Text" wrote:

I have columns where I have used X's as tick marks. X=1, XX=2, XXX=3, etc.
Can these be added up like #'s in the column?


Toppers

How can I caculate text in a column?
 
Something like?

=countif(A1:A100,"=X")

=countif(A1:A100,"=XX")*2

etc

HTH


"Calculation of Text" wrote:

I have columns where I have used X's as tick marks. X=1, XX=2, XXX=3, etc.
Can these be added up like #'s in the column?


CLR

How can I caculate text in a column?
 


=COUNTIF(A:A,"x")+COUNTIF(A:A,"xx")*2+COUNTIF(A:A, "xxx")*3

Vaya con Dios,
Chuck, CABGx3



"Calculation of Text" wrote:

I have columns where I have used X's as tick marks. X=1, XX=2, XXX=3, etc.
Can these be added up like #'s in the column?


Don Guillett

How can I caculate text in a column?
 
Actually, this is probably what you wanted.

=SUMPRODUCT(--(LEN(H2:H50)-LEN(SUBSTITUTE(H2:H50,"x",""))))

--
Don Guillett
SalesAid Software

"Calculation of Text" <Calculation of
wrote
in message ...
I have columns where I have used X's as tick marks. X=1, XX=2, XXX=3, etc.
Can these be added up like #'s in the column?





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

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