I have a column that has R 154.10. I want to remove the "R" and convery the 154.10 to a number. Thanks.
I have a column that has R 154.10. I want to remove the "R" and convery the 154.10 to a number. Thanks.
Last edited by maymano; 06-05-2011 at 01:59 PM.
Use a helper column, i.e. have an empty column next to the cells. Assuming Column A, in B1 & copy down
=TRIM(RIGHT(A1,LEN(A1)-2))
Hope that helps.
RoyUK
--------
For Excel Tips & Solutions, free examples and tutorials why not check out my web site
Free DataBaseForm example
a quick "heads up" Roy.
The OP wanted a number as the result so maybe
=--TRIM(RIGHT(A1,LEN(A1)-2))
to force the conversion from text to numeric
--
Regards
Roger Govier
Microsoft Excel MVP
To extract last number in a word:
=LOOKUP(99^99, --RIGHT(A1, ROW($A$1:$A$10)))
Assuming the cell always has "R" then a space then a number....
=MID(A1,3,9)+0
Audere est facere
and another one
=SUBSTITUTE(A1,"R","")+0
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
Why dont use 'Find & Replace'
Select the Range
Find- R
Replace (Blank)
Thanks all for the help!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks