Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bctrophy
 
Posts: n/a
Default Letter Counting Function


I know Excel has a function for counting letter/characters in a cell,
but I don't want it to count spaces. Any way to accomplish this?

And forgive me if topic exists somewhere on this forum. I wanted to do
a search first, but clicking on "search" does nothing.

Thanks!

Robert


--
bctrophy
------------------------------------------------------------------------
bctrophy's Profile: http://www.excelforum.com/member.php...o&userid=29830
View this thread: http://www.excelforum.com/showthread...hreadid=495350

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default Letter Counting Function


Try this...
For text in Cell A1
B1: =LEN(SUBSTITUTE(A1," ",""))

It replaces spaces with nothing, then counts the length.

Does that help?

Regards,
Ron


--
Ron Coderre
------------------------------------------------------------------------
Ron Coderre's Profile: http://www.excelforum.com/member.php...o&userid=21419
View this thread: http://www.excelforum.com/showthread...hreadid=495350

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bctrophy
 
Posts: n/a
Default Letter Counting Function


Ron,

That did it. Works like a charm. Much appreciated!!!!


--
bctrophy
------------------------------------------------------------------------
bctrophy's Profile: http://www.excelforum.com/member.php...o&userid=29830
View this thread: http://www.excelforum.com/showthread...hreadid=495350

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
Varying left criteria based on 1st Letter....If Function? seve Excel Discussion (Misc queries) 2 November 25th 05 10:15 PM
Changing worksheet cells from within a function James4U2enjoy Setting up and Configuration of Excel 1 October 14th 05 02:16 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM


All times are GMT +1. The time now is 02:12 AM.

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

About Us

"It's about Microsoft Excel"