Hello Community,
I hope that you are all doing well.
I have some REALLY dirty data that I already used the Text to Columns Tool to clean the Spirits Category and Wine Category Columns. I am now stuck with a task that is proving to be a little more difficult (at least for me) of cleaning the data on the Spirits Sub-Categories and Wine Sub-Categories columns based on the data on the Spirits and Wine Categories.
For the example below
Spirits Categories Spirits Sub-Categories
AmericanWhiskey Bourbon,Blanco/SilverTequila
I need to be able to say if Spirits Category contains AmericanWhiskey and Spirits Sub-Categories contains Bourbon then remove all other texts.
It would ultimately end up looking like this.
Spirits Categories Spirits Sub-Categories
AmericanWhiskey Bourbon,Blanco
An additional concern is when the Spirits Category is AmericanWhiskey and I need to select RyeWhiskey.
Spirits Categories Spirits Sub-Categories
AmericanWhiskey Bourbon,RyeWhiskey
As always, your time and help is always tremendously appreciated.
Fausto