R
Roger on Excel
I have a column of cells which contain material quantities in units of grams
(g) or millilitres (ml). I need to extract the numbers from the strings and
paste them into the adjacent cell. It would also be nice to place the unit
in the next cell afterwards also
For example:
3.04g
25ml
24.2 ml
5 g
3g
Notice that there sometimes is a space after the number which would need to
be removed.
Can anyone help?
(g) or millilitres (ml). I need to extract the numbers from the strings and
paste them into the adjacent cell. It would also be nice to place the unit
in the next cell afterwards also
For example:
3.04g
25ml
24.2 ml
5 g
3g
Notice that there sometimes is a space after the number which would need to
be removed.
Can anyone help?