LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 249
Default Extracting numbers from a string containg letters at the end

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?
 
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
Extracting numbers and letters in a single cell to separate cells lawandgrace Excel Discussion (Misc queries) 1 August 14th 09 04:45 PM
Extracting Numbers from string Keyrookie Excel Worksheet Functions 4 October 4th 07 11:47 PM
Extracting numbers from string of text Marie Excel Discussion (Misc queries) 2 November 21st 06 09:46 PM
Splitting string into letters and numbers Foss[_2_] Excel Programming 2 February 3rd 05 10:35 AM
extracting numbers from string Chris Dowell via OfficeKB.com Excel Discussion (Misc queries) 1 January 12th 05 09:37 PM


All times are GMT +1. The time now is 01:42 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"