Hello everyone,
I need a formula to return the appropriate value from a table based on a matching keyword. Please see screenshot:
Screenshot 2024-10-22 155844.png
Column "K" has a line description from which I need to pull a keyword to get a partial match. In this example, the keyword I'm looking for in cell K2 is "CMS Misc 3RD Party". On a separate sheet, I have a table (Table 13). This table has four different categories (in the "CATEGORY" column), and several keywords (in the "KEYWORD" column) which then correspond to a specific category.
I am not sure what formula I should be using, but I came up with a VLOOKUP that I thought would work, but it's only partially working, oddly enough.
The formula is: =VLOOKUP("*"&K2&"*",Table13,2,FALSE)
I am using wildcards in the lookup value because the data in column "K" is random/incomplete, so I need to find partial matches by using keywords.
For this example, the formula needs to give me an answer of "Damage", since that is the category that corresponds to the keyword "CMS Misc 3RD Party". How do I accomplish this? And is the VLOOKUP the correct formula to use?
Thank you,
Bookmarks