Fellow Forum Members,
Each cell in cells B1 through B15 contains text strings of various lengths.
Each of these text strings contains only one instance of the following target words:
Target1
Target2
Target3
Target4
Target5
Target6
Target7
Target8
Target9
Target10
Target11
Target12
Target13
Target14
Target15
I need help developing a function that will return values (words) on the neighboring A1 through A15 cells depending on what Target word it finds in cells B1 trhough B15. Below is a matrix that shows the conditions and associated response values:
If B1 contains the word "Target1" return word "Response1" in cell A1
If B2 contains the word "Target2" return word "Response2" in cell A2
If B3 contains the word "Target3" return word "Response3" in cell A3
If B4 contains the word "Target4" return word "Response4" in cell A4
If B5 contains the word "Target5" return word "Response5" in cell A5
If B6 contains the word "Target6" return word "Response6" in cell A6
If B7 contains the word "Target7" return word "Response7" in cell A7
If B8 contains the word "Target8" return word "Response8" in cell A8
If B9 contains the word "Target9" return word "Response9" in cell A9
If B10 contains the word "Target10" return word "Response10" in cell A10
If B11 contains the word "Target11" return word "Response11" in cell A11
If B12 contains the word "Target12" return word "Response12" in cell A12
If B13 contains the word "Target13" return word "Response13" in cell A13
If B14 contains the word "Target14" return word "Response14" in cell A14
If B15 contains the word "Target15" return word "Response15" in cell A15
Is such a function possible?
I've been playing around with the function below as a starting point. But I'm hitting a brick wall getting it to check for fifteen different scenarios:
=IF(NOT(ISERROR(FIND("Target1",A1))),"Response1","")
Any help will be greatly appreciated. Thanks.
Each cell in cells B1 through B15 contains text strings of various lengths.
Each of these text strings contains only one instance of the following target words:
Target1
Target2
Target3
Target4
Target5
Target6
Target7
Target8
Target9
Target10
Target11
Target12
Target13
Target14
Target15
I need help developing a function that will return values (words) on the neighboring A1 through A15 cells depending on what Target word it finds in cells B1 trhough B15. Below is a matrix that shows the conditions and associated response values:
If B1 contains the word "Target1" return word "Response1" in cell A1
If B2 contains the word "Target2" return word "Response2" in cell A2
If B3 contains the word "Target3" return word "Response3" in cell A3
If B4 contains the word "Target4" return word "Response4" in cell A4
If B5 contains the word "Target5" return word "Response5" in cell A5
If B6 contains the word "Target6" return word "Response6" in cell A6
If B7 contains the word "Target7" return word "Response7" in cell A7
If B8 contains the word "Target8" return word "Response8" in cell A8
If B9 contains the word "Target9" return word "Response9" in cell A9
If B10 contains the word "Target10" return word "Response10" in cell A10
If B11 contains the word "Target11" return word "Response11" in cell A11
If B12 contains the word "Target12" return word "Response12" in cell A12
If B13 contains the word "Target13" return word "Response13" in cell A13
If B14 contains the word "Target14" return word "Response14" in cell A14
If B15 contains the word "Target15" return word "Response15" in cell A15
Is such a function possible?
I've been playing around with the function below as a starting point. But I'm hitting a brick wall getting it to check for fifteen different scenarios:
=IF(NOT(ISERROR(FIND("Target1",A1))),"Response1","")
Any help will be greatly appreciated. Thanks.