+ Reply to Thread
Results 1 to 3 of 3

How to output text from several cells into one cell?

  1. #1
    Registered User
    Join Date
    03-20-2008
    Posts
    11

    How to output text from several cells into one cell?

    Say i have the following text formatted cells (say from A1 through A4)

    117-U
    166-U
    179-U
    206-6

    I want to output the cells so that it outputs like '117-U','166-U','179-U','206-6' in a single cell... how would i go about this?

    Thanks in advance!

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: How to output text from several cells into one cell?

    Assuming you have only a few cells ...

    ="'"&A1&"','"&A2&"','"&A3&"','"&A4&"'"

    Else you're looking at UDF's in truth and/or Add-ins like morefunc.xll which offers MCONCAT function.

  3. #3
    Registered User
    Join Date
    03-20-2008
    Posts
    11

    Re: How to output text from several cells into one cell?

    Quote Originally Posted by DonkeyOte View Post
    Assuming you have only a few cells ...

    ="'"&A1&"','"&A2&"','"&A3&"','"&A4&"'"

    Else you're looking at UDF's in truth and/or Add-ins like morefunc.xll which offers MCONCAT function.
    That worked, thanks!

+ 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