LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Count occurances of text in a cell

Good day,

I have a sheet with numerous text strings all in the same column. I need to
search each and return the number of occurances (total) of the words
"medicare" and "eomb" cointained in each string.
I've tried this function:

=COUNTIF(A1:A10,"*medicare*")+COUNTIF(A1:A10,"*eom b*")
but it only counts 1 occurance of each. I need to the total times the word
'medicare occurs plus the total times 'eomb' occurs.

Any suggestions?


 
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 gjameson via OfficeKB.com Excel Discussion (Misc queries) 3 January 4th 10 07:09 PM
Count the number of occurances in a cell bobbroda Excel Worksheet Functions 2 June 1st 09 04:10 PM
Using COUNT for text occurances in unusual worksheet? heyredone Excel Worksheet Functions 4 March 6th 09 08:07 PM
substituting two text occurances in same cell. Hassan Alameh Excel Worksheet Functions 4 March 9th 05 01:50 PM
counting occurances of a char. within a text string/cell Justin Ater Excel Programming 2 August 2nd 03 11:06 PM


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