#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 47
Default count characters

is their a formula to count how many times a character appears in on cell

thanks

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...lic.excel.misc
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 913
Default count characters

On Sat, 23 Aug 2008 13:00:01 -0700, Rich (no
spam) wrote:

is their a formula to count how many times a character appears in on cell

thanks

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...lic.excel.misc



Try this formula:

=SUMPRODUCT(--(MID(A1,ROW(1:100),1)="x"))

where "x" is the character and A1 is the cell you are investigating.
Change the 100 if your data is longer than 100 characters.

Hope this helps / Lars-Åke
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 for the same serial of characters Frank Situmorang[_2_] Excel Worksheet Functions 4 August 8th 08 06:00 PM
Count Characters in a cell tracktor Excel Discussion (Misc queries) 8 May 21st 08 03:02 AM
Macros to count characters [email protected] Excel Discussion (Misc queries) 5 August 28th 07 05:59 PM
Count characters within a string Francisco Excel Worksheet Functions 4 April 10th 07 05:28 PM
Count Characters sjs Excel Worksheet Functions 6 December 9th 05 08:40 PM


All times are GMT +1. The time now is 02:32 PM.

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"