Count text that occurs multiple times in excel cell
Question: How do I count how many times a text string occurs in a cell in excel?
Answer:
Formula in B5:
Functions in this article:
Len(text)
Returns the number of characters in a text string
Substitute(text, old_text, new_text, [instance_num])
Replaces existing text with new text in a text string
This blog article is one out of three articles on the same subject.
- Count number of times a string exist in multiple cells using excel formula
- Count text that occurs multiple times in excel cell
- Count occurences of a specific text string in a column in excel
Read more related articles in the archive.
Related posts:
Count number of times a string exist in multiple cells using excel formula
Count occurences of a specific text string in a column in excel
Excel: Count the number of occurances an integer is in a list
Search for multiple text strings in multiple cells in excel, part 2
Count records between two dates with multiple parameters in excel


















Thank you my new friend, I needed that. Nice idea to count the characters with and without the term and then to divide by the number of characters in the term.
Justin,
Thank you
Read more:
Count number of times a string exist in multiple cells using excel formula
Count multiple text strings in a cell range
What formula should I use to see how many times a phrase occurs within multiple cells?
Lee,
Count number of times a string exist in multiple cells