Excel_User_1
New Member
- Joined
- Nov 2, 2012
- Messages
- 2
Hi,
I have thousands of cells in a column and each cell contains long sentences (string). I have to search for a cell that contain two non-consecutive words in a sentence. Note that there may be more sentence with same words either consecutive or non-consecutive.
For example, one cell contain a sentence "You can post a new question by selecting one of the forums below".
If I use the built-in Find (Ctr+F) function and search the words "new" and "forums" then Excel cannot find it because the words are non-consecutive, they are separated by other words.
Is there any way we can find the cells with two words that are in a give sentence but not together? Any macro?
Your help will be appreciated much.
Thanks
I have thousands of cells in a column and each cell contains long sentences (string). I have to search for a cell that contain two non-consecutive words in a sentence. Note that there may be more sentence with same words either consecutive or non-consecutive.
For example, one cell contain a sentence "You can post a new question by selecting one of the forums below".
If I use the built-in Find (Ctr+F) function and search the words "new" and "forums" then Excel cannot find it because the words are non-consecutive, they are separated by other words.
Is there any way we can find the cells with two words that are in a give sentence but not together? Any macro?
Your help will be appreciated much.
Thanks