Hi,
I have a similar request to another very old thread which I was going to reply to but the BB advised to create a new post
Search text in a string and return adjacent cell of first value found
My variation to that thread is where I have two tables, a data table and a keyword table.
In the data table I need a formula in the 2nd column (C3) to look in the adjacent cell in the first column (A3) for one of the keywords from the keyword table (Tbl_KeywordCats[Keyword].
Once found, then return the respective category from Col G for that keyword.
I've been able to do a lookup to search for the keyword value but not return the adjacent category. It only returns True/False.
Using similar example from the above thread..........
Kinda pulling my hair out with this one and would appreciate any help.
Thanks in advance.
Gav
I have Excel® for Microsoft 365 MSO (Version 2304 Build 16.0.16327.20200) 64-bit
I have a similar request to another very old thread which I was going to reply to but the BB advised to create a new post
Search text in a string and return adjacent cell of first value found
My variation to that thread is where I have two tables, a data table and a keyword table.
In the data table I need a formula in the 2nd column (C3) to look in the adjacent cell in the first column (A3) for one of the keywords from the keyword table (Tbl_KeywordCats[Keyword].
Once found, then return the respective category from Col G for that keyword.
I've been able to do a lookup to search for the keyword value but not return the adjacent category. It only returns True/False.
Using similar example from the above thread..........
Find-Keywords-4Cats.xlsb | ||||||||
---|---|---|---|---|---|---|---|---|
B | C | D | E | F | G | |||
1 | Tbl_Data | Tbl_KeywordCats | ||||||
2 | Data | Category | Keyword | Category | ||||
3 | En John Smith 324334 | Cat1 | Paul Jones | Cat1 | ||||
4 | Fr Paul Jones 324246 | John Smith | Cat1 | |||||
5 | John Smith TE 8564645 | Joe Bloggs | Cat2 | |||||
6 | GT John Smith 845754 | Jane Doe | Cat3 | |||||
7 | HG Sandra Frey 671182 | John Doe | Cat3 | |||||
8 | KJ Paul Jones 85662 | |||||||
9 | ||||||||
Sheet1 |
Kinda pulling my hair out with this one and would appreciate any help.
Thanks in advance.
Gav
I have Excel® for Microsoft 365 MSO (Version 2304 Build 16.0.16327.20200) 64-bit
Last edited: