+ Reply to Thread
Results 1 to 8 of 8

Column to text

  1. #1
    Registered User
    Join Date
    04-19-2013
    Location
    Glasgow
    MS-Off Ver
    Excel 2013
    Posts
    49

    Column to text

    I have 5 columns in a workbook Place, date, time, name, score I would like to move them all into 1 column and be separated by , is there an easy way of doing this?


    Best regards

  2. #2
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Column to text

    Assuming your 5 columns are A to E, and starting in row 1, you could just use =A1&","&B1&","&C1&","&D1&","&E1 and copy down. Then "Paste Special / Values" over the top of this new column.
    If I've been of help, please hit the star

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Column to text

    You could do something like this...

    Assuming the data is in the range A1:E1
    Enter this formula in F1:

    =A1&", "&B1&", "&C1&", "&D1&", "&E1

    Copy down as needed.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    04-19-2013
    Location
    Glasgow
    MS-Off Ver
    Excel 2013
    Posts
    49

    Re: Column to text

    Much appreciated, the only problem is the date column has become a 5 digit number and time a massive decimal number?

  5. #5
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Column to text

    How about....

    =A1&","&TEXT(B1,"dd/mm/yyyy")&","&TEXT(C1,"hh:mm")&","&D1&","&E1

  6. #6
    Registered User
    Join Date
    04-19-2013
    Location
    Glasgow
    MS-Off Ver
    Excel 2013
    Posts
    49

    Re: Column to text

    Fantastic Spencer, thank you very much!

  7. #7
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Column to text

    Not a problem. Happy to help

  8. #8
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Column to text

    Like this...

    =A1&", "&TEXT(B1+C1,"d/m/yyyy h:mm")&", "&D1&", "&E1

+ 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