Here is a fun one.....
I need to extract "only" 6 Digit (consecuitve) number(s) from a cell. In the cell, there can be any combination of numbers (dates, prices, P/N's) and text.
I need a formula that will only extract 6 digit numbers.
EXAMPLE of a cell - Pete wire price list 2013 992813-44 Order 99496 placed Janurary 2011 for qty 200 at price of $98.63.
So the only thing I would want extracted is the 6 digit consecutive number in RED. notice the order number after is 5 digits which I would want ignored.
I tried this formula: =TEXT(LOOKUP(10^6,MID(SUBSTITUTE(B197," ","x"),ROW(INDIRECT("1:"&LEN(B197)-7)),6)+0),"000000") but it isn't consistent.
The numbers aren't in a consistent order - could start with 1-9 and is fine if it extracts the "-44"
Thanks for all your help
I need to extract "only" 6 Digit (consecuitve) number(s) from a cell. In the cell, there can be any combination of numbers (dates, prices, P/N's) and text.
I need a formula that will only extract 6 digit numbers.
EXAMPLE of a cell - Pete wire price list 2013 992813-44 Order 99496 placed Janurary 2011 for qty 200 at price of $98.63.
So the only thing I would want extracted is the 6 digit consecutive number in RED. notice the order number after is 5 digits which I would want ignored.
I tried this formula: =TEXT(LOOKUP(10^6,MID(SUBSTITUTE(B197," ","x"),ROW(INDIRECT("1:"&LEN(B197)-7)),6)+0),"000000") but it isn't consistent.
The numbers aren't in a consistent order - could start with 1-9 and is fine if it extracts the "-44"
Thanks for all your help