+ Reply to Thread
Results 1 to 4 of 4

Concatenate and Transpose with ,=

  1. #1
    Registered User
    Join Date
    03-22-2016
    Location
    Deatsville, AL
    MS-Off Ver
    2013
    Posts
    6

    Concatenate and Transpose with ,=

    Hello,

    I would like to concatenate and transpose cells in a column and separate values with an equal (=) and comma (,) so that the results would look like: =1234,=5678,=9012,=3456

    This is the formula I have to far for the comma but I can't get the equal to work. =CONCATENATE(TRANSPOSE(A2:A20&","))

    Any help is greatly appreciated.

    SHAUSTE

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,879

    Re: Concatenate and Transpose with ,=

    Welcome to the forum

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Concatenate and Transpose with ,=

    The equals sign is a reserved character used for opening formulae.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Concatenate and Transpose with ,=

    shauste if your profile hasn't changed since 03-22-2016 to Office 365 you are going to need VBA.

    Here is the code for a user defined function that does that. It was written by tigeravatar.

    Please Login or Register  to view this content.
    1. Copy code above.
    2. Press Alt and F11 on your keyboard to open VB Editor
    3. Click on Insert and select Module
    4. Paste code into Module and close VB Editor.

    Don't forget to save your worbook as Macro-Enabled workbook. (It is already done in the attached.)

    Then this formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    No need to transpose since the comma separators and single cell output make column/row issues superfluous. Note the leading "=" appended to the formula.
    Attached Files Attached Files
    Dave

+ 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. Macro to split, validate, concatenate and transpose (probably sort too)
    By arundharmarajan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-01-2018, 06:58 AM
  2. Transpose, concatenate and reverse order of a row
    By excelactuary in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2016, 12:39 PM
  3. Concatenate transpose
    By pep1379 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-22-2015, 10:02 AM
  4. [SOLVED] Transpose and Concatenate help
    By Ainsley in forum Excel General
    Replies: 7
    Last Post: 05-06-2015, 11:34 AM
  5. Replies: 1
    Last Post: 08-28-2014, 03:53 PM
  6. VBA Macro to Transpose Columns to Rows AND Concatenate Afterwards
    By ljanak in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-01-2013, 03:16 PM
  7. [SOLVED] VBA or forumla. Concatenate, transpose
    By rain4u in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-01-2012, 04:01 PM

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