Okoth
Board Regular
- Joined
- Sep 10, 2009
- Messages
- 106
- Office Version
- 2019
- Platform
- Windows
I'm looking for a way to count the words between the first and last comma. The sentence in the cell is dynamic. An example is this
Get a pan ready. Add milk, eggs, pepper, salt, half the sugar, onions and ham.
I can imagine the easiest way of doing it is to count the total number of words in the sentence(s) and deduct the number of words before the first comma and words after the last comma from it, but I don't know how to do it.
Please help
Thanks
Get a pan ready. Add milk, eggs, pepper, salt, half the sugar, onions and ham.
I can imagine the easiest way of doing it is to count the total number of words in the sentence(s) and deduct the number of words before the first comma and words after the last comma from it, but I don't know how to do it.
Please help
Thanks