analyst0503
New Member
- Joined
- Aug 5, 2021
- Messages
- 15
- Office Version
- 365
- Platform
- Windows
Hello!
I need help with broadening a formula that I already have or finding a better way to recognize keywords within a large set of data.
Context:
I have a list of keywords that I need to search for within multiple columns. So far, I have been able to create a table which contains those keywords and then use a formula (
=IF(SUMPRODUCT(--ISNUMBER(SEARCH(Table3[[#All],[Column1]],F2))),"keyword","")) to return the word 'keyword' when the word is present in the cell or nothing for when there is nothing in that cell. I'm wondering if it would be possible to do two more things by either extending this formula or using a different method:
1. Would it be possible to search for these keywords within multiple columns, so that instead of just searching in F2 (as it would be in this formula), I can also search in G2, H2...
2. Is there a way for Excel to actually return the value it finds within the column? Note that the keywords should be searched for and returned as they are, e.g. I have both 'paper' and 'paper clip' as keywords.
Here is a screenshot of the keywords and what the data would look like (screenshots is all I can provide unfortunately):
Any help is greatly appreciated and please let me know if you need additional details.
Many thanks!
I need help with broadening a formula that I already have or finding a better way to recognize keywords within a large set of data.
Context:
I have a list of keywords that I need to search for within multiple columns. So far, I have been able to create a table which contains those keywords and then use a formula (
=IF(SUMPRODUCT(--ISNUMBER(SEARCH(Table3[[#All],[Column1]],F2))),"keyword","")) to return the word 'keyword' when the word is present in the cell or nothing for when there is nothing in that cell. I'm wondering if it would be possible to do two more things by either extending this formula or using a different method:
1. Would it be possible to search for these keywords within multiple columns, so that instead of just searching in F2 (as it would be in this formula), I can also search in G2, H2...
2. Is there a way for Excel to actually return the value it finds within the column? Note that the keywords should be searched for and returned as they are, e.g. I have both 'paper' and 'paper clip' as keywords.
Here is a screenshot of the keywords and what the data would look like (screenshots is all I can provide unfortunately):
Any help is greatly appreciated and please let me know if you need additional details.
Many thanks!