+ Reply to Thread
Results 1 to 5 of 5

Output arrays into a string

  1. #1
    Registered User
    Join Date
    01-27-2012
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    3

    Output arrays into a string

    Does anyone know if a function exists where I can type =function(A33:A38, ,) and it output a string like: cellvalue1,cellvalue2,cellvalue3,cellvalue4,cellvalue5

    The two parameters would be the cell range and the other would be the separator

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Output arrays into a string

    Not a specific Excel function, but you can use a UDF like:

    Please Login or Register  to view this content.
    and use formula: =aconcat(A33:A38,",")

    or you can download and install free utility called Morefunc from here: http://download.cnet.com/Morefunc/30...-10423159.html

    and use function =MCONCAT(A33:A38,",")
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Output arrays into a string

    Not a specific Excel function, but you can use a UDF like:

    Please Login or Register  to view this content.
    and use formula: =aconcat(A33:A38,",")

    or you can download and install free utility called Morefunc from here: http://download.cnet.com/Morefunc/30...-10423159.html

    and use function =MCONCAT(A33:A38,",")

  4. #4
    Registered User
    Join Date
    01-27-2012
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Output arrays into a string

    You solved my problem, thank you very much. On another note, how do you install UDF's?

  5. #5
    Registered User
    Join Date
    01-27-2012
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Output arrays into a string

    I've discovered a bit of an issue. If the cells aren't adjacent then the MCONCAT function does not work. Is there a way around this?

+ 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