+ Reply to Thread
Results 1 to 5 of 5

My First Question - Extracting Numbers from Strings

  1. #1
    Registered User
    Join Date
    06-09-2021
    Location
    Canada
    MS-Off Ver
    8
    Posts
    2

    My First Question - Extracting Numbers from Strings

    Hello Everyone

    I would like to extract the numbers into 3 columns from the following string.
    (L)13.25" x (W)13.25" x(H)15"

    I was trying to use =right() but it's taking too long

    Any advice from excel whiz

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: My First Question - Extracting Numbers from Strings

    One way

    B1 =--MID($A1,4,FIND("""",$A1)-4)
    C1 =--SUBSTITUTE(MID(A1,FIND("W",A1)+2,FIND("H",A1)-FIND("W",A1)-5),"""","")
    D1 =--SUBSTITUTE(MID(A1,FIND("H",A1)+2,5),"""","")
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Guru
    Join Date
    04-23-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 365
    Posts
    2,465

    Re: My First Question - Extracting Numbers from Strings

    Another way... with you value in cell A1, put this formula in cell B1 and copy across, then copy those cells down to the end of your data
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    06-09-2021
    Location
    Canada
    MS-Off Ver
    8
    Posts
    2

    Re: My First Question - Extracting Numbers from Strings

    Thank You so much it worked perfectly.

    I was able to extract data from a 1000 columns easily

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,716

    Re: My First Question - Extracting Numbers from Strings

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

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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 numbers from alphanumeric strings
    By brockk in forum Excel Formulas & Functions
    Replies: 25
    Last Post: 08-22-2016, 10:43 PM
  2. [SOLVED] separating or extracting numbers between two strings into two columns
    By paradise2sr in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-13-2014, 07:54 AM
  3. [SOLVED] Help, please, with extracting numbers from strings in VBA
    By shennin202 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-22-2013, 08:19 PM
  4. Extracting numbers from inconsistent text strings
    By netguru in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-25-2012, 03:20 AM
  5. Extracting Numbers From Strings
    By ross88guy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-21-2010, 05:37 PM
  6. extracting strings and numbers from one cell into seperate cells??
    By zivlaz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-05-2010, 12:03 PM
  7. Replies: 5
    Last Post: 03-05-2009, 05:52 PM
  8. [SOLVED] 2 more questions about extracting numbers from text strings
    By andy from maine in forum Excel General
    Replies: 0
    Last Post: 03-28-2005, 05:06 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