I have a string that I need two numbers extracted and separated into two columns like this.
ID:1234567 RXN:89012345
ID:12345 RXN:678901
Column 1 Column 2
1234567 89012345
12345 678901
The numbers can be varying number of characters. I was able to get column 2 number by using the following function:
=RIGHT(G3,FIND("RXN:",G3)-5)
However, I'm having a hard time getting the ID number separated.
Also, I need this to be a function as I will be using a macro to use over many spreadsheets.

ID:? how aboutMID(G3,3,FIND(" ", g3))ID:1234567 RXN:89012345in the same cell? You could also do a Data --> Text to Columns, using a space delimiter to separate the two. To get rid of the "ID" and "RXN", see @ML's answer.split? You could split by:and doing so would give you an array that you would then pull your number out of.