+ Reply to Thread
Results 1 to 5 of 5

Extracting numbers from cell with text

  1. #1
    Registered User
    Join Date
    10-26-2016
    Location
    Sterling, VA
    MS-Off Ver
    10
    Posts
    5

    Extracting numbers from cell with text

    How do you extract the number from this cell using =ISNUMBER (value)?

    Level Level
    Experience: 1
    Experience: 2
    Experience: 3
    Experience: 4
    Experience: 5

    Thanks!

  2. #2
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: Extracting numbers from cell with text

    Hi

    could u please provide a sample file with desired output
    Thanks - Naveed
    -----------------------------
    If the suggestion helps you, then Click * to Add Reputation
    To Attach File: Go Advanced>>Manage Attachments>>Add Files (In Top Right Corner)>>SelectFiles>>.........Locate Your File(s)>>Upload Files>>Done (In Bottom Right)
    1. Use [code] code tags [\code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    2. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

  3. #3
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Extracting numbers from cell with text

    ISNUMBER() will only return a TRUE/FALSE value so for the examples youve quoted ISNUMBER would always return FALSE as the cell is a string.

    If you're wanting to extract the numbers from a String ie return the numbers 1,2,3,4 and 5 for the 5 cells respectively then you'll need a much more complicated formula than ISNUMBER()

    Heres one I found when I last tried this, its an Array formula so needs to be entered with Ctrl-Shift-Enter
    Please Login or Register  to view this content.
    Be warned though if there is a combination of letters & numbers then it will concat all of the numbers together

    ie

    123ABC4DE567 will return 1234567
    If someone has helped you then please add to their Reputation

  4. #4
    Registered User
    Join Date
    04-11-2016
    Location
    Daventry, England
    MS-Off Ver
    2016
    Posts
    24

    Re: Extracting numbers from cell with text

    With Experience: 1 in cell A1, type in B1 =VALUE(MID(A1,12,20))

    The 20 in the B1 is big enough to let you have lots of Experiences!

    Regards
    AC

  5. #5
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Extracting numbers from cell with text

    Quote Originally Posted by A.Clubb View Post
    With Experience: 1 in cell A1, type in B1 =VALUE(MID(A1,12,20))

    The 20 in the B1 is big enough to let you have lots of Experiences!

    Regards
    AC
    You know when you spend ages looking for an overcomplicated method when the obvious one is staring you in the face?

    Well thats me and this one.

    I would have done it slightly different but the logic is the same sensible, simple one that A.Clubb posted
    Please Login or Register  to view this content.

+ 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. extracting numbers between text
    By mgilroy in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-24-2015, 03:27 PM
  2. Extracting numbers from Text
    By ViolaM in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-15-2015, 08:58 AM
  3. [SOLVED] Extracting numbers from text?
    By shiftyspina in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-15-2014, 11:10 AM
  4. [SOLVED] extracting numbers from a string of text and numbers
    By ScottLor in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-05-2013, 04:47 PM
  5. Extracting numbers and text from inconsistent text/number formatted string
    By Brandivil in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-25-2013, 01:46 PM
  6. [SOLVED] Extracting Numbers from text
    By hoventim in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 12-11-2012, 09:08 AM
  7. Replies: 17
    Last Post: 03-03-2010, 06:55 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