Forum Discussion
jgossage
Dec 13, 2021Copper Contributor
count occurrences of text in a cell range
Excel 2016. I would like to count the number of times a particular word appears in a range of cells, some of which contain more than one word. COUNTIF only finds words if they are exact matches and no other words in a cell. Example, find the word bob in the range of 4 cells below.
bob
bob loves jane
jane
love
COUNTIF would return 1 but my formula should return 2
Hi Matthew Russell - check-in/out is enabled at the Library level, there's no way to remove it the folder level. Best bet is to move those files into a new library with the settings you need for your flow to run. Alternatively, you can add actions to check in and check out files within your Power Automate flows.
2 Replies
Sort By
- OliverScheurichGold Contributor
=COUNT(SEARCH(E3,C4:C7))
Is this what you want to do? Enter above formula as matrixformula with ctrl+shift+enter if you don't work with Office365 or 2021.
- jgossageCopper Contributor
That's it, exactly. Funny that your solution did not come up when I searched for formulas. Thanks much.