Results 1 to 4 of 4

Thread: Splitting data from the right side with no delimiters
Thanks Thanks: 0 Likes Likes: 0

  1. #1
    New Member
    Join Date
    Sep 2014
    Location
    Flatland of East Central Illinois
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Splitting data from the right side with no delimiters

    I have a column of numbers that I need split into three columns. The numbers can have 8,9 or 10 digits. I need to split from the right into three columns
    Current data

    235000035
    75000035
    1865000035

    Desired result
    23 5000 035
    7 5000 035
    186 5000 035

    Any help is greatly appreciated.
    Thanks

  2. #2
    MrExcel MVP
    Junior Admin
    Joe4's Avatar
    Join Date
    Aug 2002
    Posts
    49,669
    Post Thanks / Like
    Mentioned
    51 Post(s)
    Tagged
    11 Thread(s)

    Default Re: Splitting data from the right side with no delimiters

    For an entry in A1:
    in cell B1: =LEFT(A1,LEN(A1)-7)
    in cell C1: =MID(A1,LEN(A1)-6,4)
    in cell D1: =RIGHT(A1,3)
    TIPS FOR FINDING EXCEL SOLUTIONS
    1. Use the built-in Help that comes with Excel/Access
    2. Use the Search functionality on this board
    3. A lot of VBA code can be acquired by using the Macro Recorder.

    "Give a man a fish, feed him for a day. Teach a man to fish, feed him for life!"

  3. #3
    New Member
    Join Date
    Sep 2014
    Location
    Flatland of East Central Illinois
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Splitting data from the right side with no delimiters

    Quote Originally Posted by Joe4 View Post
    For an entry in A1:
    in cell B1: =LEFT(A1,LEN(A1)-7)
    in cell C1: =MID(A1,LEN(A1)-6,4)
    in cell D1: =RIGHT(A1,3)
    Thanks, That took care of it.

  4. #4
    MrExcel MVP
    Junior Admin
    Joe4's Avatar
    Join Date
    Aug 2002
    Posts
    49,669
    Post Thanks / Like
    Mentioned
    51 Post(s)
    Tagged
    11 Thread(s)

    Default Re: Splitting data from the right side with no delimiters

    You are welcome.
    TIPS FOR FINDING EXCEL SOLUTIONS
    1. Use the built-in Help that comes with Excel/Access
    2. Use the Search functionality on this board
    3. A lot of VBA code can be acquired by using the Macro Recorder.

    "Give a man a fish, feed him for a day. Teach a man to fish, feed him for life!"

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •