+ Reply to Thread
Results 1 to 3 of 3

Count Characters in a Cell

  1. #1
    Registered User
    Join Date
    07-30-2010
    Location
    Egypt
    MS-Off Ver
    Excel 2003
    Posts
    24

    Question Count Characters in a Cell

    Peace to you All
    Is there a formula ( or a VBA Code ) to count Characters in a cell ??
    i.e :
    The name:
    Parak Hussein Opama
    is in Cell A1 . I need a formula to return 3 in Cell B1
    any help 'd be greatly appreciated

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Count Characters in a Cell

    Hi Toto_pop, welcome to the forum.

    If you're trying to count characters, you would use:

    =LEN(A1)

    But that would count each character, not each word. Since you want the result to be 3, I assume you meant that you want to count the number of words in a cell. If that's the case, use:

    =LEN(A1)-LEN(SUBSTITUTE(A1," ",""))+1

  3. #3
    Registered User
    Join Date
    07-30-2010
    Location
    Egypt
    MS-Off Ver
    Excel 2003
    Posts
    24

    Cool Re: Count Characters in a Cell

    Thanks so much
    Both worked great

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1