Extract numbers with units. Eg. 1.6mm², 20.23mm²
Hi,
You may want to try the following array formula in cell
B14(Ctrl+Shift+Enter). I assume your text is in A14
=1*MID(A14,MATCH(TRUE,ISNUMBER(1*MID(A14,ROW($1:$2 0),1)),0),COUNT(1*MID(A14,ROW($1:$20),1))+IF(ISNUM BER(MATCH(".",MID(A14,ROW($1:$20),1),0)),1,0))
"Francis WF Lee" wrote:
I need 1.6 from 1.6mm² and 20.23 from 20.23mm²
1) I cannot use RIGHT function to extract as number starts from left.
2) I cannot use LEFT function as number is not fix length
3) I cannot use MID function as num_start refererence is from left not right
Following also some example which difficult to extract
1) 100.2Volts, 15Volts
2) 20m/s, 1.25m/s, 10.0m/s
3) 1.235mØ, 34.0mØ
|