Hi All. I've been trying to automate a process that I have to do every day at work without having to use VBA. Hoping someone can help.
I import data into a column that has a string of text followed by a hyphen and 8 numbers. An example would be "Sonoma Country - 13456-094". My goal is to take the 8 numbers "*****-***" and put it in the column over. A1 would then be "Sonoma Country" & B1 would be 13456-094.
I usually find and replace " - " with "*" and use text to columns to separate the text from the numbers. However, sometimes the data can be "Sonoma Country - (CA) - 13456-095" at which point this process no longer works. "(CA)" is in B1 & the numbers are in C1.
Is there a formula make sure the 8 digits are always in column B? No text or numbers ever follow the 8 digits which may help solve this problem.
Thanks!
Mike
Bookmarks