+ Reply to Thread
Results 1 to 3 of 3

Extracting Numbers from text string

  1. #1
    Registered User
    Join Date
    09-03-2012
    Location
    Australia, Victoria
    MS-Off Ver
    Excel 2003
    Posts
    25

    Extracting Numbers from text string

    Hi All,

    I have a column of text strings of various lengths and positions, I would like a formula to return just the numbers and the "." and "/" in between.

    Below is an example of what the texts in each cell look like;

    1 - O/N 213087/2300.4 ON HOLD SN
    2 - O/N 213087/2300.11
    3 - O/N 213087/2300
    4 - G14 O/N 213087/2300.8

    Using a formula, I would like to return below in the corresponding order.

    1 - 213087/2300.4
    2 - 213087/2300.11
    3 - 213087/2300
    4 - 213087/2300.8

    Thank you

  2. #2
    Forum Contributor
    Join Date
    06-21-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    191

    Re: Extracting Numbers from text string

    Does it always contain the O/N to start?

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Extracting Numbers from text string

    PL see file. UDF GetNumber is used.
    code
    Please Login or Register  to view this content.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Extracting numbers after a # in a text string
    By percyth1 in forum Excel General
    Replies: 6
    Last Post: 08-23-2012, 11:32 PM
  2. Extracting numbers from a text string
    By Cruncher1 in forum Excel General
    Replies: 2
    Last Post: 06-11-2012, 01:17 PM
  3. Extracting Numbers from text String and Sum?
    By FuzzyDove in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-12-2008, 03:23 PM
  4. Extracting Numbers from text string
    By rlane23 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-29-2007, 05:00 AM
  5. extracting numbers within text string!
    By via135 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-05-2006, 01:08 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1