+ Reply to Thread
Results 1 to 10 of 10

Extract the number from the cell content

  1. #1
    Forum Contributor
    Join Date
    02-25-2012
    Location
    Coimbatore, India
    MS-Off Ver
    Excel 2010
    Posts
    445

    Extract the number from the cell content

    Hello Friends

    I want to extract the number only inside the cell in light yellow cells.

    thanks in advance

    thilag

  2. #2
    Valued Forum Contributor
    Join Date
    12-28-2014
    Location
    NSW, Australia
    MS-Off Ver
    MS365
    Posts
    604

    Re: Extract the number from the cell content

    Try this and copy down:
    Please Login or Register  to view this content.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Extract the number from the cell content

    Try this, copied down...
    '=LOOKUP(99^99,--("0"&MID(A1,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},A1&"0123456789")),ROW($1:$10000)))) Courtesy of:*Ron Coderre
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Extract the number from the cell content

    @ Beamer, I think column B contains the answer they want?

  5. #5
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Extract the number from the cell content

    Another solution is

    B2=MID(A1,MATCH(TRUE,INDEX(ISNUMBER(MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1)+0),0),),SUMPRODUCT((ISNUMBER(MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1)+0)=TRUE)*1))+0

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  6. #6
    Valued Forum Contributor
    Join Date
    12-28-2014
    Location
    NSW, Australia
    MS-Off Ver
    MS365
    Posts
    604

    Re: Extract the number from the cell content

    @FDibbins yeah that makes sense

  7. #7
    Forum Contributor
    Join Date
    02-25-2012
    Location
    Coimbatore, India
    MS-Off Ver
    Excel 2010
    Posts
    445

    Re: Extract the number from the cell content

    Hello Ford

    Your formula is working perfect thanks

    Hello Beamer

    Ford is correct Column B is required result to be done by formula.

    thanks in advance

    thilag

  8. #8
    Forum Contributor
    Join Date
    02-25-2012
    Location
    Coimbatore, India
    MS-Off Ver
    Excel 2010
    Posts
    445

    Re: Extract the number from the cell content

    Hello Ankur

    Your formula working prefect thanks for it.

    thilag

  9. #9
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Extract the number from the cell content

    Glad to help you dear

  10. #10
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Extract the number from the cell content

    Happy to help, thanks for the feedback

+ 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: 2
    Last Post: 02-09-2015, 09:40 AM
  2. Extract partial content from a single cell
    By mildredtpeabody in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-21-2013, 06:39 PM
  3. [SOLVED] Extract two zip codes from one cell with lots of content
    By rtlloyd in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-22-2012, 04:36 PM
  4. ZeroPadding Mixed Number, Text, Number Content in Cell
    By Sbubendorf in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-18-2008, 05:52 PM
  5. Compare and match names and extract a cell content
    By dexsourcesys in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-19-2006, 03:55 PM
  6. Replies: 1
    Last Post: 12-16-2005, 05:50 AM
  7. [SOLVED] formula to extract partial content (text) of cell
    By milano in forum Excel General
    Replies: 3
    Last Post: 11-09-2005, 01:00 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