Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Tim
 
Posts: n/a
Default remove text from cell containing numbers


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


  #2   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default remove text from cell containing numbers

If G22 contains your example, then:


=LEFT(G22,2) & "." & MID(G22,5,2)
will yield 6.30
--
Gary's Student


"Tim" wrote:


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


  #3   Report Post  
Posted to microsoft.public.excel.misc
Ron Coderre
 
Posts: n/a
Default remove text from cell containing numbers

Try something like this:

Select the range of cells
<Edit<Replace
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-Pro


"Tim" wrote:


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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Urgent date/scheduling calc needed jct Excel Worksheet Functions 3 February 24th 06 02:36 AM
extract numbers from cell containing text & numbers [email protected] Excel Worksheet Functions 1 November 14th 05 08:04 AM
How do I set text to top of cell next to wrap text in Excel? Carpenter Gary New Users to Excel 1 October 25th 05 07:26 PM
Function to remove a space from text in cell WITHOUT macro?? [email protected] Excel Worksheet Functions 5 May 28th 05 03:28 AM
Sum cell numbers that have certain text within the cell Carole Excel Worksheet Functions 7 January 27th 05 07:25 PM


All times are GMT +1. The time now is 05:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"