+ Reply to Thread
Results 1 to 5 of 5

Concatenate multiple selected cells and put contents into first cell

  1. #1
    Forum Contributor
    Join Date
    07-01-2009
    Location
    Maine, USA
    MS-Off Ver
    Excel 2016
    Posts
    161

    Concatenate multiple selected cells and put contents into first cell

    I would like to know if I can have a row or column with data and concatenate like this. The cells would be determined by selection instead of relative/absolute location.

    Before
    A B C
    1 John A. Smith

    After
    A B C
    1 John A. Smith

  2. #2
    Forum Guru
    Join Date
    04-23-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 365
    Posts
    2,408

    Re: Concatenate multiple selected cells and put contents into first cell

    You said "row or column" so I have given you two macro... one if your selection contains rows of ranges that are to be joined across (like your single example shows) and another if your selection contains columns of ranges that are to be joined down instead.
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    07-01-2009
    Location
    Maine, USA
    MS-Off Ver
    Excel 2016
    Posts
    161

    Re: Concatenate multiple selected cells and put contents into first cell

    Using the JoinDown, I ran into an issue where it is deleting the first character of the next line and replacing it with a space. The top table is the before, and the second is after I run JoinDown.

    A
    1 Producer-
    2 01

    A
    1 Producer- 1
    2

  4. #4
    Forum Guru
    Join Date
    04-23-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 365
    Posts
    2,408

    Re: Concatenate multiple selected cells and put contents into first cell

    Is that leading zero there because of a Custom Format?

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,518

    Re: Concatenate multiple selected cells and put contents into first cell

    Try
    Please Login or Register  to view this content.

+ 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. Concatenate multiple cells based on cell that contains contact ID
    By jdooley in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-27-2018, 10:35 AM
  2. Replies: 3
    Last Post: 10-19-2016, 08:43 AM
  3. [SOLVED] VBA concatenate selected cells
    By Garysmith in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-22-2014, 04:42 AM
  4. [SOLVED] Macro to copy selected cells contents to another cell
    By ExcelFailure in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-30-2013, 05:21 AM
  5. Replies: 1
    Last Post: 02-19-2013, 04:30 PM
  6. Replies: 6
    Last Post: 12-07-2012, 05:38 PM
  7. Conditionally copy selected cells in rows depending on cell contents.
    By danando in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-11-2011, 08:50 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