I have a handfull of different text layouts that i need to extract the numbers along with their decimals from. The text layouts change so using a generic code to just extract the numbers+decimals seems the way to go.
I found a code here that will amost work:
http://www.mrexcel.com/forum/showthread.php?t=362184
Using this Formula and CTRL+Shift to apply it:
=SUM(MID(0&A2,LARGE(ISNUMBER(--MID(A2,ROW(INDIRECT("1:"&LEN(A2))),1))*ROW(INDIRECT("1:"&LEN(A2))),ROW(INDIRECT("1:"&LEN(A2))))+1,1)*10^ROW(INDIRECT("1:"&LEN(A2)))/10)
Using the above, the following gets converted like this:
6.141 ft by 40.552 ft - Results in 614140552
The problem is, i want to be able to seperate out the numbers by a space and i do not want to lose the decimal point. Any idea how i can do that?
Change This:
6.141 ft by 40.552 ft
To This:
6.141 40.552
Change This:
4.188 ft by 25 ft at 13.54 ft
To This:
4.188 25 13.54
I can take the result and split them out as needed into different cells after that.
Bookmarks