Counting letters in a cell
Depends how you want to define words, but if you want to count spaces and
add one (unless the cell is empty), you could try:
=IF(LEN(A1)=0,0,LEN(A1)-LEN(SUBSTITUTE(A1," ",""))+1)
If you had multiple spaces in one place, that would get it confused, of
course.
--
David Biddulph
"Learning Excel" wrote in message
...
Do you happen to have a formula to count WORDS in a cell ?
"Learning Excel" wrote:
Thanks a lot David Biddulph.
"David Biddulph" wrote:
=LEN(SUBSTITUTE(A1," ",""))
--
David Biddulph
"Learning Excel" wrote in
message
...
My formula is =LEN(A1) and copied down.
Is there a variation of this formula to count just the letters in
each
cell
without counting the spaces between words ?
Thanks for the reply.
--
Socrates said: I only know, I don''''''''t know nothing.
I say : I don''''''''t even know, I don''''''''t
know nothing.
|