+ Reply to Thread
Results 1 to 3 of 3

Extract numbers from a text in excel cell

  1. #1
    Registered User
    Join Date
    01-28-2015
    Location
    Nicosia, Cyprus
    MS-Off Ver
    xp
    Posts
    1

    Talking Extract numbers from a text in excel cell

    Hi guys,

    Thank you so much for your great support!!!
    Would you please be so kind and advise on how to extract just the figures out. or else said how to remove ant letter character in a excel cell

    abcd 8690511191469 --> need to get just 8690511191469
    8690511191308/ABC/D --> need to get just 8690511191308
    GYTEW/8690511170235 --> need to get just 8690511170235
    abCD//8690511170280/format/deformat --> need to get just 8690511170280
    country/869051122814/ng - need to get just 869051122814

    Thank you so much
    Petra07

  2. #2
    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 a text in excel cell

    Hi Petra and welcome to the forum

    Try this array formula in B1 and copy down. Format cell in column as Number

    =NPV(-0.9,,IFERROR((MID(A1,256-COLUMN($1:$65536),1)%),""))


    or this one if you using older excel version

    =NPV(-0.9,,IF(ISERROR(MID(A1,256-COLUMN($1:$65536),1)%),"",MID(A1,256-COLUMN($1:$65536),1)%))

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

    Row\Col
    A
    B
    1
    abcd 8690511191469
    8690511191469
    2
    8690511191308/ABC/D
    8690511191308
    3
    GYTEW/8690511170235
    8690511170235
    4
    abCD//8690511170280/format/deformat
    8690511170280
    5
    country/869051122814/ng
    869051122814
    Last edited by AlKey; 01-28-2015 at 03:39 PM.
    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

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,940

    Re: Extract numbers from a text in excel cell

    =IFERROR(LOOKUP(10^15,MID(A1,SMALL(INDEX(IFERROR(SEARCH({0,1,2,3,4,5,6,7,8,9},A1&0),10^10),0),1),ROW(1:15))+0),"")
    try this
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

+ 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: 5
    Last Post: 12-05-2013, 01:35 AM
  2. [SOLVED] Formula to Extract Numbers from Text Cell
    By MHamid in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-03-2012, 04:08 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. 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. 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