+ Reply to Thread
Results 1 to 4 of 4

Merge a text in a cell to multiple rows

  1. #1
    Registered User
    Join Date
    05-08-2017
    Location
    Toronto
    MS-Off Ver
    2016
    Posts
    81

    Merge a text in a cell to multiple rows

    Hi,

    I used to know how to do this, but forgot. I can merge the text in cell A1 with text in cell B1, and produce the result in cell C1. This was done with: =A1&" "&B1

    Suppose I have some text in cell A1, but all other rows in column A are empty. Several rows of column B contain different text. I want the text in A1 to be merged with the text in all the rows in column B. How would I go about doing this? If I drag the result in C1 downward, I get copies of it, and the anchoring function I'm probably using incorrectly.

    Thanks.

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Merge a text in a cell to multiple rows

    If you mean you want the formula to look at A1 each time and combine it with B1, then B2, then B3 etc. then try =A$1&" "&B1

    If I've misunderstood, attach a sample workbook showing your expected outcome.

    BSB

  3. #3
    Registered User
    Join Date
    05-08-2017
    Location
    Toronto
    MS-Off Ver
    2016
    Posts
    81

    Re: Merge a text in a cell to multiple rows

    Damn that was quick. Thank you BadlySpelledBuoy, your solution is exactly what I intended!

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Merge a text in a cell to multiple rows

    Sometimes we're just sat here waiting to help

    Glad the solution worked for you.

    Take care.

    BSB

+ 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. Merge Cell Contents from multiple cells/rows based on value in column A
    By vikrampnz in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-14-2018, 07:32 AM
  2. [SOLVED] Merge multiple rows separated by blank rows
    By cgman in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-20-2015, 09:03 PM
  3. Merge multiple rows with one common cell
    By seanant in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-16-2013, 04:24 AM
  4. [SOLVED] Merge multiple duplicate rows into columns - more than 65536 rows
    By a3des in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-05-2013, 09:18 AM
  5. Replies: 4
    Last Post: 09-02-2012, 07:49 AM
  6. Merge Multiple Rows into One?
    By washashore in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-26-2012, 07:54 PM
  7. Replies: 1
    Last Post: 09-13-2011, 04:33 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