When we have a large data set we have to filter / clean it before use. There are many blank rows / columns, unwanted spaces, etc in the data set. We can remove most of them using the tool developed by KTK Excel Tools. You can find out about it from below link
LK Tools Tab for Ribbon
If we have to remove some of the data according to a list of keywords, How can we do that? Here is the simplest manual method I can imagine.
- Filter data set using one keyword.
- Copy the visible data to a new sheet.
- Change the visible cell color to Yellow
- Filter data set using next keyword
- Copy the visible data to the same sheet which has data from step 2. (Paste this data to the bottom of the sheet)
- Change the visible cell color to Yellow
- Repeat the steps 4, 5 and 6 for all keywords
- Remove duplicates in the new sheet which has copied data. (This is a subset of the beginning data set which including keywords)
- Go to the sheet which has all data
- There are some rows having yellow colored by the previous steps.
- Filter the data set using color filter to show cells without any color.
- Copy visible data to new sheet.
- This is the data subset which is not included keywords.
As a process, this is simple to understand and follow. However, if we have more keywords to look, the time taken to complete this process will be huge. We can automate this process using a macro. Check My next post for the macro.
No comments:
Post a Comment