+ Reply to Thread
Results 1 to 6 of 6

counting characters inside a cell

  1. #1
    Registered User
    Join Date
    05-08-2006
    Posts
    76

    Question counting characters inside a cell

    Hi,
    Is there any way of counting the number of characters within a cell without having to do the text to columns thing?

    I have many screen captures of TRAU frames and need to quickly determine the number of bits in the string e.g. this could be in a single cell

    1111 11111111 11111111 11111111 11111111 11111111 11111111 11111111


    Thanks in advance


    Simon

  2. #2
    J.Evans.1970@gmail.com
    Guest

    Re: counting characters inside a cell

    Try the LEN() function.

    =LEN(B2)


    simonsmith wrote:
    > Hi,
    > Is there any way of counting the number of characters within a cell
    > without having to do the text to columns thing?
    >
    > I have many screen captures of TRAU frames and need to quickly
    > determine the number of bits in the string e.g. this could be in a
    > single cell
    >
    > 1111 11111111 11111111 11111111 11111111 11111111 11111111
    > 11111111
    >
    >
    > Thanks in advance
    >
    >
    > Simon
    >
    >
    > --
    > simonsmith
    > ------------------------------------------------------------------------
    > simonsmith's Profile: http://www.excelforum.com/member.php...o&userid=34235
    > View this thread: http://www.excelforum.com/showthread...hreadid=565265



  3. #3
    Registered User
    Join Date
    05-08-2006
    Posts
    76
    Thanks, I think that will work, just need to strip off the gaps

    Cheers

    Simon

  4. #4
    Toppers
    Guest

    RE: counting characters inside a cell

    Simon,

    =LEN(SUBSTITUTE(A1," ",""))

    Assuming the blanks are the "delimeters" btewwen your bit strings

    "simonsmith" wrote:

    >
    > Hi,
    > Is there any way of counting the number of characters within a cell
    > without having to do the text to columns thing?
    >
    > I have many screen captures of TRAU frames and need to quickly
    > determine the number of bits in the string e.g. this could be in a
    > single cell
    >
    > 1111 11111111 11111111 11111111 11111111 11111111 11111111
    > 11111111
    >
    >
    > Thanks in advance
    >
    >
    > Simon
    >
    >
    > --
    > simonsmith
    > ------------------------------------------------------------------------
    > simonsmith's Profile: http://www.excelforum.com/member.php...o&userid=34235
    > View this thread: http://www.excelforum.com/showthread...hreadid=565265
    >
    >


  5. #5
    Toppers
    Guest

    RE: counting characters inside a cell

    ...btewwen!? ...between!

    I assumed you did want count of 1s only; otherwise LEN(A1) will give total
    length including blanks..

    "Toppers" wrote:

    > Simon,
    >
    > =LEN(SUBSTITUTE(A1," ",""))
    >
    > Assuming the blanks are the "delimeters" btewwen your bit strings
    >
    > "simonsmith" wrote:
    >
    > >
    > > Hi,
    > > Is there any way of counting the number of characters within a cell
    > > without having to do the text to columns thing?
    > >
    > > I have many screen captures of TRAU frames and need to quickly
    > > determine the number of bits in the string e.g. this could be in a
    > > single cell
    > >
    > > 1111 11111111 11111111 11111111 11111111 11111111 11111111
    > > 11111111
    > >
    > >
    > > Thanks in advance
    > >
    > >
    > > Simon
    > >
    > >
    > > --
    > > simonsmith
    > > ------------------------------------------------------------------------
    > > simonsmith's Profile: http://www.excelforum.com/member.php...o&userid=34235
    > > View this thread: http://www.excelforum.com/showthread...hreadid=565265
    > >
    > >


  6. #6
    Registered User
    Join Date
    05-08-2006
    Posts
    76

    Wink

    So I when use LEN(SUBSTITUTE(A3," ","")) that works just fine!

+ 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