Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Count the number of occurances in a cell

I'm trying to count the number of occurances of a comma in an individual cell
in Excel. Does anyone have any ideas? thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default Count the number of occurances in a cell

Try this...

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

--
Rick (MVP - Excel)


"bobbroda" wrote in message
...
I'm trying to count the number of occurances of a comma in an individual
cell
in Excel. Does anyone have any ideas? thanks.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Count the number of occurances in a cell

With the text in A1 try

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

If this post helps click Yes
---------------
Jacob Skaria


"bobbroda" wrote:

I'm trying to count the number of occurances of a comma in an individual cell
in Excel. Does anyone have any ideas? thanks.

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 occurances kevcar40 Excel Discussion (Misc queries) 3 June 13th 07 10:00 PM
Count Number of Duplicate Occurances Scott Halper Excel Worksheet Functions 7 March 30th 07 03:42 PM
Count number of possible occurances bi-weekly (Can this be done)? caj Excel Discussion (Misc queries) 2 February 15th 07 07:56 PM
count number of occurances of a word in a range John Davies Excel Worksheet Functions 3 February 24th 06 01:46 PM
count duplicates/total number of occurances Rishi Aggarwal Excel Discussion (Misc queries) 3 December 28th 05 04:15 AM


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