+ Reply to Thread
Results 1 to 7 of 7

Splitting Cells

  1. #1
    Registered User
    Join Date
    07-28-2014
    Location
    Toronto
    MS-Off Ver
    Office 2007
    Posts
    4

    Splitting Cells

    Does anyone know how to split the data in my cells
    Currently it looks like this.

    1 - 2 - 3,4,5
    A - B - C


    I would like it to look like this.
    1 - 2 - 3
    1 - 2 - 4
    1 - 2 - 5
    A - B - C

    Can anyone help me please?

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,177

    Re: Splitting Cells

    This code looks for commas only between characters...if your text sometimes has commas and sometimes not, then you need to alter the code below...

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    07-28-2014
    Location
    Toronto
    MS-Off Ver
    Office 2007
    Posts
    4

    Re: Splitting Cells

    Is there a way to do this without code?

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Splitting Cells

    Perhaps, but I for one can't work out from your diagram which entries are in which cells - can you clarify?

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  5. #5
    Registered User
    Join Date
    07-28-2014
    Location
    Toronto
    MS-Off Ver
    Office 2007
    Posts
    4

    Re: Splitting Cells

    Currently,
    Cell A1 = 1
    Cell A2 = 2
    Cell A3 = 3,4,5
    Cell B1 = A
    Cell B2 = B
    Cell B3 = C

    I would like it to read,
    Cell A1 = 1
    Cell A2 = 2
    Cell A3 = 3
    Cell B1 = 1
    Cell B2 = 2
    Cell B3 = 4
    Cell C1 = 1
    Cell C2 = 2
    Cell C3 = 5
    Cell D1 = A
    Cell D2 = B
    Cell D3 = C

    Thank you.

  6. #6
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Splitting Cells

    Thanks.

    Perhaps your desired results could be achieved by placing them in cells different to those containing the original data, though since you are wanting the actual cell contents to overwrite themselves then you will certainly need VBA.

    Regards

  7. #7
    Registered User
    Join Date
    07-28-2014
    Location
    Toronto
    MS-Off Ver
    Office 2007
    Posts
    4

    Re: Splitting Cells

    Okay, Thank you for your help.

+ 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. Splitting Cells
    By silvrwoman in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-01-2012, 01:56 PM
  2. Replies: 1
    Last Post: 06-11-2009, 03:57 AM
  3. splitting cells
    By gorgenyi in forum Excel General
    Replies: 1
    Last Post: 09-27-2006, 12:28 PM
  4. splitting cells
    By markmerid in forum Excel General
    Replies: 1
    Last Post: 09-05-2006, 07:52 AM
  5. Splitting Cells
    By MFFC2005 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 08-02-2005, 12:05 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