Nov 27 2018 07:15 AM
Hi. I'm pretty new to Excel and its functions.
I need to make myself a formula to find something within a column, which matches something within a cell. This cell has more than one word. I're tried this as an example:
=IF(FIND(B5; G:G); "Test"; "")
The problem that keeps on occuring is that it takes the first thing that seems close to some of the words.
B5="I need to learn" In the collumn I can have: "Cool, Too, Test and TO" It seems to take Too,
everytime. This would have been easy if the cells on column B had been standarised, but they're not. So sometimes the word to search is in the end, and sometimes middle.
Please help:)
Nov 27 2018 07:29 AM
SolutionHi Fredrik,
Perhaps like
=IF(SUMPRODUCT(ISNUMBER(SEARCH(G:G,B5))*NOT(ISBLANK(G:G))),"Test","")
Please see attached
Nov 27 2018 08:32 AM
Nov 27 2018 07:29 AM
SolutionHi Fredrik,
Perhaps like
=IF(SUMPRODUCT(ISNUMBER(SEARCH(G:G,B5))*NOT(ISBLANK(G:G))),"Test","")
Please see attached