danhenshy23
New Member
- Joined
- Oct 3, 2016
- Messages
- 38
- Office Version
- 2019
- Platform
- Windows
Hi all,
In Column A I have a list of text strings which I am wanting to search.
In Column C I have a list of terms I want to Search for
In Column D I have the categories of each of those search terms
In Column B I want to show the category that the search term belongs to
The problem I am having is that I am getting a match for a category where the word I am searching for exists within part of another word. For example if "hot" is the word I am searching for, I will get a match for the word "hotter".
How do I overcome this? Here is the formula I am using currently (entered into column B):
{=INDEX($D$2:$D$10,MATCH(TRUE,ISNUMBER(SEARCH($C2:C10,$A1)),0))}
In Column A I have a list of text strings which I am wanting to search.
In Column C I have a list of terms I want to Search for
In Column D I have the categories of each of those search terms
In Column B I want to show the category that the search term belongs to
The problem I am having is that I am getting a match for a category where the word I am searching for exists within part of another word. For example if "hot" is the word I am searching for, I will get a match for the word "hotter".
How do I overcome this? Here is the formula I am using currently (entered into column B):
{=INDEX($D$2:$D$10,MATCH(TRUE,ISNUMBER(SEARCH($C2:C10,$A1)),0))}