+ Reply to Thread
Results 1 to 4 of 4

Truncating: Mid, Left, Right, & Find.....Help!

  1. #1
    Registered User
    Join Date
    12-31-2012
    Location
    Houston, TX
    MS-Off Ver
    Excel 2007
    Posts
    4

    Truncating: Mid, Left, Right, & Find.....Help!

    I have a large quantity of data that comes in the format shown in Column A. I'd like to separate that content in columns only containing the numbers. I've made a few attempts with mid, right, left, find, & text to column but no luck. I continue to come up just a bit short (still get dashes, catch a W or E, etc) due to the inconsistency in the way the data is entered. Can anyone tell me a formula to get the numbers isolated? Thanks for all your help!

    Excel Help.JPG

  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: Truncating: Mid, Left, Right, & Find.....Help!

    Please upload a workbook or a representative cut down copy, anonymised if necessary. It is always easier to advise if we can see your request in its context.

    Please don't upload pictures. None of us are inclined to recreate your data when you have a workbook available - see guidelines in the Rules area of this forum.
    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
    Valued Forum Contributor
    Join Date
    09-10-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    929

    Re: Truncating: Mid, Left, Right, & Find.....Help!

    It's not pretty, but here are my formulas...

    If your data is in A1, then put these in...
    B1: =MID(A1,6,SEARCH("-",A1)-6)
    C1: =MID(A1,SEARCH("-",A1)+1,SEARCH("-",A1,SEARCH("-",A1)+1)-SEARCH("-",A1)-2)
    D1: =MID(A1,SEARCH("-",A1,SEARCH("-",A1)+1)+1,LEN(A1)-SEARCH("-",A1,SEARCH("-",A1)+1)-1)

  4. #4
    Registered User
    Join Date
    12-31-2012
    Location
    Houston, TX
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Truncating: Mid, Left, Right, & Find.....Help!

    Thanks DJ! Worked like a dream.

    Richard, I'm on it next time!

    Ryan

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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