I do a lot of data manipulation in Excel. Often I have cases come up where I get a single column of both cities and states with no delimiter. An example of one such field is "Hobe Sound FL". I need that to be separated into 2 columns. One with just "Hobe Sound" and one with just "FL". Other cities of course are only a single word like "Naples FL".
My current solution is to use a custom function that reverses the entire string, then I separate using the first space as the delimiter. Last step is to reverse both columns back to their original form and the job is done... A lot of steps involved and a lot of room for human error. Just looking for a way to automate this a little more.
Any ideas appreciated. Thanks!
My current solution is to use a custom function that reverses the entire string, then I separate using the first space as the delimiter. Last step is to reverse both columns back to their original form and the job is done... A lot of steps involved and a lot of room for human error. Just looking for a way to automate this a little more.
Any ideas appreciated. Thanks!