+ Reply to Thread
Results 1 to 4 of 4

adding data from multiple columns into one, data seperated by commas

  1. #1
    Registered User
    Join Date
    02-25-2009
    Location
    Flushing, Michigan
    MS-Off Ver
    Excel 2007
    Posts
    13

    adding data from multiple columns into one, data seperated by commas

    Using =A7&","&B7 to add data from two columns into one, separated by a comma.

    What about multiple columns, still separated by a comma? Please See Example in attachment

    Thank you in advance! Mike

    Excel 2007
    Last edited by teko1995; 03-27-2009 at 07:47 AM.

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: adding data from multiple columns into one, data seperated by commas

    Are you not able to simply concatenate more cells in the same way? e.g.

    =A4&","&B4&","&C4&","&D4&","&E4&","&A5&","&B5&","&C5&","&D5&","&E5

  3. #3
    Registered User
    Join Date
    02-25-2009
    Location
    Flushing, Michigan
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: adding data from multiple columns into one, data seperated by commas

    Thank you Paul, this does work well.. I just couldn't get it just right.
    Mike

  4. #4
    Registered User
    Join Date
    02-07-2011
    Location
    Los Angeles
    MS-Off Ver
    Excel 2008 for MAC
    Posts
    1

    Re: adding data from multiple columns into one, data seperated by commas

    I have used the above formula to insert commas between combined cells but not all of my cells have data so I end up with commas hanging in some of the concatenated cells.

    how do I adjust the formula so a comma is not added if there is no data in the next cell?

    Thanks in advance 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)

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