+ Reply to Thread
Results 1 to 5 of 5

Split cell contents by comma with formula *Can't use text to columns*

  1. #1
    Forum Contributor
    Join Date
    08-29-2012
    Location
    Slough
    MS-Off Ver
    Excel 2007
    Posts
    469

    Split cell contents by comma with formula *Can't use text to columns*

    Hi all,

    I have a cell that has numerous values in it. I would like a formula that I can drag all the way down a column that will take each value and put it one below the other.

    Text to columns can't be used because I would like it to be dynamic, whenever a number is added to the cell is is automatically put into the column too.

    This is to be done on a google docs or numbers for apple so I also can't use vba.

    Unfortunately I can't attached a file but to try and explain:

    A1 would contain:

    2.10,3,4.65,6,1.2

    The formula which will be in a seperate sheet will read

    A1: 2.10
    A2: 3
    A3: 4.65
    A4: 6
    A5: 1.2

    Thanks in advance,

    Danny

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Split cell contents by comma with formula *Can't use text to columns*

    Row\Col
    A
    1
    2.10,3,4.65,6,1.2
    2
    2.1
    3
    3
    4
    4.65
    5
    6
    6
    1.2
    7


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


    Drag down!!
    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)

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Split cell contents by comma with formula *Can't use text to columns*

    hi danny. assuming data in Sheet1, try:
    =IFERROR(--TRIM(MID(SUBSTITUTE(Sheet1!$A$1,",",REPT(" ",LEN(Sheet1!$A$1))),1+(ROWS($A$1:A1)-1)*LEN(Sheet1!$A$1),LEN(Sheet1!$A$1))),"")

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  4. #4
    Forum Contributor
    Join Date
    08-29-2012
    Location
    Slough
    MS-Off Ver
    Excel 2007
    Posts
    469
    These work perfectly. Thank you very much.

  5. #5
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Split cell contents by comma with formula *Can't use text to columns*

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

+ 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. [ask] split text with comma to new rows
    By qiyusi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-26-2015, 09:27 PM
  2. [SOLVED] split a string of text in one cell into 2 new cells after occurance of second comma
    By syncguy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-06-2015, 12:50 AM
  3. [SOLVED] Split comma separated text and insert into next row retaining all other columns.
    By saidineshbabu in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-17-2013, 03:25 AM
  4. Replies: 4
    Last Post: 07-25-2013, 05:28 AM
  5. [SOLVED] Split the contents of the cell separated by comma into different cells
    By VivekBhise in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-30-2012, 06:50 AM
  6. Formula to split cell contents
    By chloesnowling in forum Excel General
    Replies: 4
    Last Post: 01-05-2012, 07:36 AM
  7. Excel 2007 : Split Cell Contents into Separate Columns
    By slkamath in forum Excel General
    Replies: 1
    Last Post: 01-01-2010, 12:52 AM

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