counting number of word in a cell
One more that will work ok if the cell is empty:
If the words are separated by spaces:
=LEN(TRIM(A1))-LEN(SUBSTITUTE(TRIM(A1)," ",""))+(TRIM(A1)<"")
kokhong wrote:
is there a function can count number of word in a cell
example:
A B
username count
kok, hong, Lee
chan, NG
Ti, Lee
after counting
A B
username count
kok, hong, Lee 3
chan, NG 2
Ti, Lee 2
--
Dave Peterson
|