Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default 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


--
simonsmith
------------------------------------------------------------------------
simonsmith's Profile: http://www.excelforum.com/member.php...o&userid=34235
View this thread: http://www.excelforum.com/showthread...hreadid=565265

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default counting characters inside a cell


Thanks, I think that will work, just need to strip off the gaps

Cheers

Simon


--
simonsmith
------------------------------------------------------------------------
simonsmith's Profile: http://www.excelforum.com/member.php...o&userid=34235
View this thread: http://www.excelforum.com/showthread...hreadid=565265

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default counting characters inside a cell


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


--
simonsmith
------------------------------------------------------------------------
simonsmith's Profile: http://www.excelforum.com/member.php...o&userid=34235
View this thread: http://www.excelforum.com/showthread...hreadid=565265

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default 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




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default 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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically printing psted text over 250 characters to another cell Hobart007 Excel Worksheet Functions 1 July 14th 06 12:12 PM
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Display text 1024 characters in a cell Martin Excel Worksheet Functions 6 November 12th 05 11:25 PM
Number of characters in a cell (one row, merged columns) Dajana Excel Discussion (Misc queries) 1 September 19th 05 09:30 PM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM


All times are GMT +1. The time now is 10:38 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"