Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Brenda
 
Posts: n/a
Default I need to count the occurence of text in a range of cells (which .

I need to count the occurence of a character (i.e. a comma (,)) in a range of
cells. Each comma represents a value of one and may occur more than once in a
cell. Then I need to have the total sum of commas found. Thanks in advance.
Brenda.
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way, array-entered (CTRL-SHIFT-ENTER or CMD-RETURN):

Assuming your range is named rng,

=SUM(LEN(rng)-LEN(SUBSTITUTE(rng,",","")))

In article ,
Brenda wrote:

I need to count the occurence of a character (i.e. a comma (,)) in a range of
cells. Each comma represents a value of one and may occur more than once in a
cell. Then I need to have the total sum of commas found. Thanks in advance.
Brenda.

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
Formula to count the cells in a range that have a fill color. Slainteva Excel Discussion (Misc queries) 2 January 19th 05 09:25 PM
Formula to count the cells in a range that have a fill color. Molly F Excel Discussion (Misc queries) 2 January 19th 05 07:15 PM
Convert data of cells to any type: Number, Date&Time, Text Kevin Excel Discussion (Misc queries) 0 December 30th 04 07:55 AM
How do I create formula to count numbers in a range of cells? EmilyJ Excel Worksheet Functions 1 December 8th 04 06:24 AM
how do I 'count' the number of cells with a text in red or black? Anjin Topeng Excel Worksheet Functions 2 November 4th 04 07:42 AM


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