Is it possible to count the no. of characters in a cell in Excel?

K

karbrown12

In order to create Tweets in Excel, I wanted to know if you could count the
characters/spaces in a cell.
 
M

Mike H

Hi,

To count characters excluding spaces
=LEN(SUBSTITUTE(A1," ",""))

to count spaces
=LEN(A1)-LEN(SUBSTITUTE(A1," ",""))

--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top