+ Reply to Thread
Results 1 to 10 of 10

Isolate couple of numbers from a string

  1. #1
    Registered User
    Join Date
    10-17-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    28

    Question Isolate couple of numbers from a string

    Hi,
    Firstly i have already found solution to concatenate numbers into strings.

    Please Login or Register  to view this content.
    example data : J1=1000m,J2=566m,J3=55m

    I would like to isolate the 1000,566 and 55 into a different cell.
    Attached Files Attached Files
    Last edited by tanpa_nama; 09-27-2018 at 04:18 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Isolate couple of numbers from a string

    Your example is unclear. Does J1 contain 1000m and J2 contain 566m, etc, or is the entire string in one cell? Do you want the resulting 3 numbers in one cell, or one cell each (3 cells in total).

    Sample sheets are often much clearer than words....
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    10-17-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: Isolate couple of numbers from a string

    hi. updated the post. please see attachment.

  4. #4
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2503 Build 16.0.18604.20000) 64-bit
    Posts
    3,992

    Re: Isolate couple of numbers from a string

    Try

    B6
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    or

    B6
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Copy the same in other cells
    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)

  5. #5
    Registered User
    Join Date
    10-17-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: Isolate couple of numbers from a string

    but it only get 1000 value.

  6. #6
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2503 Build 16.0.18604.20000) 64-bit
    Posts
    3,992

    Re: Isolate couple of numbers from a string

    Did you copy paste the same formula in other cells too. I am getting result through post #4 formulas

  7. #7
    Registered User
    Join Date
    10-17-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: Isolate couple of numbers from a string

    yes. i put the formula in B6,D6,F6,H6,J6 all return 1000 value. both formula i use.

  8. #8
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2503 Build 16.0.18604.20000) 64-bit
    Posts
    3,992

    Re: Isolate couple of numbers from a string

    See the attached file it is working
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    10-17-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: Isolate couple of numbers from a string

    aaahh.. need to change the COLUMNS function. thank you. that's the differences

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Isolate couple of numbers from a string

    or this... a shorter formula:

    =IFERROR(MID(SUBSTITUTE(SUBSTITUTE($A3,"=",REPT(" ",100)),"m",REPT(" ",100)),COLUMNS($B:B)*100,100)+0,"")
    Attached Files Attached Files

+ 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. [SOLVED] Isolate string of next
    By fillgolo in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-19-2013, 10:56 AM
  2. isolate the first name in this text string
    By xtinct2 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-17-2013, 09:52 AM
  3. [SOLVED] Help! How do I isolate numbers from a name
    By pwall1115 in forum Excel General
    Replies: 3
    Last Post: 02-16-2013, 10:44 AM
  4. [SOLVED] Need a formula to isolate a number from a text string
    By chicolocal in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-25-2013, 01:19 PM
  5. Can you use an excel function to isolate part of a text string?
    By CharCat in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-27-2012, 02:05 AM
  6. I'm Trying To Isolate Capitalised Surnames From a String
    By Gordon@work in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-28-2007, 02:35 AM
  7. isolate number from string of text
    By Stephen R in forum Excel General
    Replies: 7
    Last Post: 08-04-2005, 04:05 PM

Tags for this Thread

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