I have a column of ID's extracted from a larger string. I need to extract the numbers ONLY. The column looks like this:
The numbers will not always be exactly in the same starting position, nor will they always be the same length. There can be anywhere from 3-5 numbers. The preceding text may be between 5-6 characters. I do not want any text or symbols, just numbers.
The closest I was able to come extracted the numbers from cells that included a "J" but did not pick up the values from cells containing other characters. My formula is below. Is there a better way to do this?
=IFERROR(IF(AND(VALUE(LEFT([REV ID]@row, 5)) > 0), LEFT([REV ID]@row, 5)), IFERROR(IF(AND(VALUE(LEFT([REV ID]@row, 1)) > 0, ISTEXT(MID([REV ID]@row, 1, 5))), VALUE(LEFT([REV ID]@row, 5)), ""), ""))