Hello,
I need to work with columns with text data similar to the following:
United States Washington King Seattle;"United States Washington Grays Harbor Aberdeen
What I would like to be able to do is compare a list of all the counties in the state to the string and then extract the rightmost county and city listing (everything that follows the county name) into separate columns. I understand I can use a lookup table to list the counties but am not sure how to fit the lookup into the formula. In this example, I would want to extract Grays Harbor into the county column and Aberdeen into the city column.
I prefer to use functions and formulas at this point but will be converting a series of these types of manipulations into a Macro at a later time.
Thank you for your help.
RF
I need to work with columns with text data similar to the following:
United States Washington King Seattle;"United States Washington Grays Harbor Aberdeen
What I would like to be able to do is compare a list of all the counties in the state to the string and then extract the rightmost county and city listing (everything that follows the county name) into separate columns. I understand I can use a lookup table to list the counties but am not sure how to fit the lookup into the formula. In this example, I would want to extract Grays Harbor into the county column and Aberdeen into the city column.
I prefer to use functions and formulas at this point but will be converting a series of these types of manipulations into a Macro at a later time.
Thank you for your help.
RF