Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Wiley
 
Posts: n/a
Default count number of letters in a string

How do I count the number of letters in a string? For example, the number
"W" in this string "WWWEEERRRWWDDR" is 5.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default count number of letters in a string

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

with the string in A1

--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com


"Wiley" wrote in message
...
How do I count the number of letters in a string? For example, the number
"W" in this string "WWWEEERRRWWDDR" is 5.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default count number of letters in a string

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

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"Wiley" wrote in message
...
How do I count the number of letters in a string? For example, the number
"W" in this string "WWWEEERRRWWDDR" is 5.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default count number of letters in a string

Try this:

With A1 containing WWWEEERRRWWDDR

B1: =LEN(A1)-LEN(SUBSTITUTE(A1,"W",""))

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Wiley" wrote:

How do I count the number of letters in a string? For example, the number
"W" in this string "WWWEEERRRWWDDR" is 5.

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
COUNT THE NUMBER OF LETTERS INCLUDING SPACES IN A CELL? zurafz6 Excel Worksheet Functions 7 March 6th 06 07:53 AM
Count number of times a specific number is displayed in a cell ran subs Excel Worksheet Functions 1 June 27th 05 05:01 PM
Need to Count number of occurrences and get percentage of total JennLee Excel Worksheet Functions 3 June 21st 05 09:56 PM
Count Number of Characters in a cell? AHJuncti Excel Discussion (Misc queries) 2 June 16th 05 07:39 PM
Count number to reach a cumulative value Bruce Excel Worksheet Functions 5 January 25th 05 05:14 PM


All times are GMT +1. The time now is 03:20 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"