How can i remove the text from a cell to leave the mumbers?
I can remove it when there is only one block, IE 16m to read 16
But what about 16m 30s to read 16.30?
or even better as the above means 16minutes 30seconds i would love it to
read 16.50
If G22 contains your example, then:=LEFT(G22,2) amp; quot;.quot; amp; MID(G22,5,2)
will yield 6.30
--
Gary's Studentquot;Timquot; wrote:
gt;
gt; How can i remove the text from a cell to leave the mumbers?
gt; I can remove it when there is only one block, IE 16m to read 16
gt;
gt; But what about 16m 30s to read 16.30?
gt;
gt; or even better as the above means 16minutes 30seconds i would love it to
gt; read 16.50
gt;
gt;
Try something like this:
Select the range of cells
lt;Editgt;lt;Replacegt;
Find what: m
Replace with: (clear this field so it contains nothing)
Click the [Replace All] button
Leave the dialog open....
Find what: s
Replace with: /60
Click the [replace all] button
The values should now be numeric with a fraction format
Example: 16m 30s will become 16 1/5
Change the number format to Gereral or Number
Does that help?
***********
Regards,
Ron
XL2002, WinXP-Proquot;Timquot; wrote:
gt;
gt; How can i remove the text from a cell to leave the mumbers?
gt; I can remove it when there is only one block, IE 16m to read 16
gt;
gt; But what about 16m 30s to read 16.30?
gt;
gt; or even better as the above means 16minutes 30seconds i would love it to
gt; read 16.50
gt;
gt;
- Oct 05 Fri 2007 20:39
remove text from cell containing numbers
close
全站熱搜
留言列表
發表留言