Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
RH
 
Posts: n/a
Default How do I count the number of times a particular charcter ("." say)

How do I count the number of times a particular charcter ("." say) appears in
a cell.

For example, ABC.1.21.31.2 should retun 4.

Is there a formula?

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

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

--

HTH

RP
(remove nothere from the email address if mailing direct)


"RH" wrote in message
...
How do I count the number of times a particular charcter ("." say) appears

in
a cell.

For example, ABC.1.21.31.2 should retun 4.

Is there a formula?



  #3   Report Post  
Posted to microsoft.public.excel.misc
wat wat is offline
external usenet poster
 
Posts: 2
Default How do I count the number of times a particular charcter ("."



"Bob Phillips" wrote:

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

--

HTH

RP
(remove nothere from the email address if mailing direct)


"RH" wrote in message
...
How do I count the number of times a particular charcter ("." say) appears

in
a cell.

For example, ABC.1.21.31.2 should retun 4.

Is there a formula?




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 number of occurences in 1 column only if something in anothe Wenster Excel Worksheet Functions 2 February 7th 05 10:58 PM
How do I count the times a number occurs in a given criteria? w_aller Excel Discussion (Misc queries) 2 February 3rd 05 10:06 AM
Count number to reach a cumulative value Bruce Excel Worksheet Functions 5 January 25th 05 06:14 PM
Count number of shaded cells Maddoktor Excel Discussion (Misc queries) 2 December 20th 04 09:35 PM
Whats the function to count the total times a word is displayed Monk Excel Discussion (Misc queries) 3 December 10th 04 11:39 PM


All times are GMT +1. The time now is 03:06 PM.

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"