+ Reply to Thread
Results 1 to 4 of 4

Extracting a number from a cell

Hybrid View

  1. #1
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,702

    Extracting a number from a cell

    Hi,

    I have a series of cells where I need to extract a number but my text is not consistant e.g.
    ETL_UK_Property_1010285_4
    ETL_UK_Property_1010285_7
    ETL_1010376_16
    ETL_UK_Property_2500001_1
    ETL_UK_Property_3400011_6


    Is there a formula which would look for a 7 digits a extract the number as per the example.

    Regards

    Paul
    Attached Files Attached Files

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Extracting a number from a cell

    Try this in B2:

    =SUBSTITUTE(LEFT(RIGHT(A2,10),8),"_","")+0

  3. #3
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,702

    Re: Extracting a number from a cell

    This is fantastic - thank you!!!

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Extracting a number from a cell

    You're welcome. Happy to help.

    Thanks for the rep!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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 specific word/number from a cell
    By melbin in forum Excel General
    Replies: 16
    Last Post: 01-15-2019, 01:48 PM
  2. Extracting rows with cell values separated by a number
    By Elee101 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 08-29-2018, 02:39 PM
  3. [SOLVED] Extracting Number from various cell and added them and multiply with a factor
    By a_driga in forum Excel Programming / VBA / Macros
    Replies: 26
    Last Post: 09-14-2014, 11:02 PM
  4. [SOLVED] extracting number from cell contains both text and number alternatively
    By green369 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-03-2013, 10:17 AM
  5. [SOLVED] extracting a part of a number from one cell to another
    By sverre123 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-10-2012, 10:00 AM
  6. Replies: 7
    Last Post: 06-16-2011, 06:37 AM
  7. Extracting a number from a cell
    By chelcomike in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-04-2009, 12:24 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