+ Reply to Thread
Results 1 to 7 of 7

Extract numbers from Text

  1. #1
    Registered User
    Join Date
    12-20-2011
    Location
    RIYADH
    MS-Off Ver
    Excel 2007
    Posts
    99

    Post Extract numbers from Text

    Dear's
    I need to extract numbers from text/ sentances, can i have a standard formulas for that ?

    rGRDS.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: Extract numbers from Text

    It all depends on your data. Take a look at this thread:

    http://www.excelforum.com/excel-gene...t-columns.html

    for one approach, then attach a sample workbook showing examples of your data and what you want to do with it.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    12-20-2011
    Location
    RIYADH
    MS-Off Ver
    Excel 2007
    Posts
    99

    Re: Extract numbers from Text

    this is the sample sheet
    Attached Files Attached Files

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Extract numbers from Text

    Try this...

    =REPLACE(A2,1,FIND(".",A2),"")
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Registered User
    Join Date
    12-20-2011
    Location
    RIYADH
    MS-Off Ver
    Excel 2007
    Posts
    99

    Re: Extract numbers from Text

    but its faile to extarct the numbers for the sentense which was number & text together , or without any ".".

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Extract numbers from Text

    This is why it is important to provide accurate requirements and samples that represent various combinations. We just can't read your mind

    You can also try this one. It will work as long as the numbers on the end are always 7 characters long.

    =RIGHT(A2,7)

  7. #7
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: Extract numbers from Text

    You need to provide examples that cover the range of variations in your data - in the file that you attached all the examples have a full-stop immediately before the number. If you have data that is not like that then provide examples of it.

    Pete

+ 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] extract numbers/text after '
    By shrijan in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-27-2013, 09:00 AM
  2. [SOLVED] Extract numbers from text
    By Therese in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-18-2006, 08:45 PM
  3. Extract numbers from cell with Text and Numbers
    By wiredwrx in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 04-18-2006, 06:00 PM
  4. [SOLVED] How do I extract numbers from a cell with both text and numbers?
    By SHANNON in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-01-2005, 10:35 PM
  5. [SOLVED] extract numbers from cell containing text & numbers
    By transferxxx@gmail.com in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-14-2005, 03:10 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