Results 1 to 3 of 3

Thread: Extracting numbers out of a cell in Excel

  1. #1

    Extracting numbers out of a cell in Excel



    Register for a FREE account, and/
    or Log in to avoid these ads!

    Hello,
    I have list of customer numbers (please see the attached sample of data I have). These numbers contain 'numbers' as well 'text'. Is there a way to use some kind of formula that will automatically remove the text from the cells and will give me the 'only' number part of the cell.

    Very much appreciate your help in advance,
    Thank you!
    Attached Files Attached Files

  2. #2
    Super Moderator NBVC's Avatar
    Join Date
    May 2011
    Location
    Mississauga, Canada
    Posts
    1,518
    Articles
    0
    Excel Version
    Excel 2016
    Is the customer Number always the same length?


  3. #3
    Super Moderator NBVC's Avatar
    Join Date
    May 2011
    Location
    Mississauga, Canada
    Posts
    1,518
    Articles
    0
    Excel Version
    Excel 2016
    Assuming it is the same length.. try:

    =LEFT(A2,6)

    copy down.

    otherwise...

    =LOOKUP(9.999999999E+307,("0"&MID(A2,MIN(FIND({0,1,2,3,4,5,6,7,8,9},A2&"0123456789")),ROW($1:$30)))+0)


Posting Permissions

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