Here's the scenario:
Column A has over 1,000 rows of text phrases. Column J contains text that I want to use to compare against column A, such that if a cell in Column A contains the text in any of the cells in column J, the cells in column A will be highlighted (or take the same formatting I have set on the cells in column J).
I have been doing this manually (Excel 2010 64bit) by using the replace button, going from J1 cell copy/paste as my word to find/replace and replace it with the same word, I only change the formating so that I can later sort by color. The problem with this approach is I have 50 or so cells on each worksheet in column J to run through.
Example:
Column A
xyz power tools
xyz warranty
xyz warranty repair
xyz used parts
xyz part
xyz stainless steel appliance
xyz wood appliance
freestanding xyz
xyz troubleshooting
apartment size xyz
Column J:
warranty (note this has neutral formatting on it)
tool (this and the below use "bad" label/formatting on them)
part
parts
trouble
repair
---------------
So notice a couple things, I have part (with a space after it)and parts, thus anything with parts or a part I want to be highlight, though I want apartment to not be highlighted, when manually doing this, I use the find/replace and add a space after the word part.
The next thing is want to it to highlight matches for partial matches like trouble will highlight trouble or troubleshooting.
It would be nice if the formatting done on Column A matches that of Column J, and that it goes through the list as I would, from the top down. This methodology would allow me to classify a cell in column A that contains "xyz manual" and "xyz warranty repair" with its yellow/neutral highlight, but as it goes down the list and because the latter term includes the word "repair", it will end up with the "bad" (or red) formatting.
I need to do this on several different worksheets/workbooks in Excel. What is the best way to simplify this process? Is there a macro or something I can use to keep me from having to do this manually?
Column A has over 1,000 rows of text phrases. Column J contains text that I want to use to compare against column A, such that if a cell in Column A contains the text in any of the cells in column J, the cells in column A will be highlighted (or take the same formatting I have set on the cells in column J).
I have been doing this manually (Excel 2010 64bit) by using the replace button, going from J1 cell copy/paste as my word to find/replace and replace it with the same word, I only change the formating so that I can later sort by color. The problem with this approach is I have 50 or so cells on each worksheet in column J to run through.
Example:
Column A
xyz power tools
xyz warranty
xyz warranty repair
xyz used parts
xyz part
xyz stainless steel appliance
xyz wood appliance
freestanding xyz
xyz troubleshooting
apartment size xyz
Column J:
warranty (note this has neutral formatting on it)
tool (this and the below use "bad" label/formatting on them)
part
parts
trouble
repair
---------------
So notice a couple things, I have part (with a space after it)and parts, thus anything with parts or a part I want to be highlight, though I want apartment to not be highlighted, when manually doing this, I use the find/replace and add a space after the word part.
The next thing is want to it to highlight matches for partial matches like trouble will highlight trouble or troubleshooting.
It would be nice if the formatting done on Column A matches that of Column J, and that it goes through the list as I would, from the top down. This methodology would allow me to classify a cell in column A that contains "xyz manual" and "xyz warranty repair" with its yellow/neutral highlight, but as it goes down the list and because the latter term includes the word "repair", it will end up with the "bad" (or red) formatting.
I need to do this on several different worksheets/workbooks in Excel. What is the best way to simplify this process? Is there a macro or something I can use to keep me from having to do this manually?