How can I find () the location of the Nth occurrence of a word in a sentence in a cell?
Example:
Humpty Dumpty sat on a wall. Humpty had a great fall.
In the section above, I want to find common occurrences and the location of the word "Humpty".
Expected Result:
Occurances location
1 1
2 30
Is there a way I can know above?
I want to use the location of the second occurrence and calculate further if there are more than two occurrences of the target word.
Thank!
source
share