+ Reply to Thread
Results 1 to 2 of 2

Extracting a number from a string

  1. #1
    Registered User
    Join Date
    09-30-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    17

    Extracting a number from a string

    Hi,

    Can anyone help me in extracting a number from a string.

    Here are the possible strings

    abc123 -

    24 tractor-

    cell no-467

    Hno 456, royal streel


    Is it possible to only extract the numbers from an irregular string. Max number of characters per string can be around 20.

    Thanks in advance...

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Extracting a number from a string

    Hi

    Try this ARRAY formula.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    -- Array(CSE) { }, formulae are confirmed with Control+Shift+Enter.
    Not just Enter.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

+ 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. Replies: 12
    Last Post: 03-20-2013, 05:46 PM
  2. Extracting a number from a string
    By SgtSunshine in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-25-2010, 07:33 AM
  3. Extracting a number from a string
    By dsexpress in forum Excel General
    Replies: 3
    Last Post: 04-26-2008, 08:41 AM
  4. Extracting a number in a text string
    By Pogo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-17-2006, 01:45 PM
  5. Extracting the First N Number of Words from a String
    By ExcelTip in forum Tips and Tutorials
    Replies: 1
    Last Post: 03-15-2006, 06:36 PM

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