A formula to count characters in an Excel cell?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Need a formula to count the total number of characters within a spreadsheet
cell as opposed to the number of words. All help much appreciated.
 
Griff said:
Need a formula to count the total number of characters within
spreadsheet
cell as opposed to the number of words. All help much appreciated.
Hi Griff,

=LEN(A1)

will give you the answer

oldchippy :
 
=Len(h6)
=LEN(SUBSTITUTE(H6," ",""))

Sub cc()
'total characters
MsgBox Len(Range("h6"))
'total not counting spaces
MsgBox Len(Replace(Range("h6"), " ", ""))
End Sub
 

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

Back
Top