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?
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?
try
=countif(a:a,"x")
--
Don Guillett
SalesAid Software
[email protected]
"Calculation of Text" <Calculation of [email protected]> wrote
in message news:[email protected]...
>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?
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?
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?
=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?
Actually, this is probably what you wanted.
=SUMPRODUCT(--(LEN(H2:H50)-LEN(SUBSTITUTE(H2:H50,"x",""))))
--
Don Guillett
SalesAid Software
[email protected]
"Calculation of Text" <Calculation of [email protected]> wrote
in message news:[email protected]...
>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?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks