+ Reply to Thread
Results 1 to 4 of 4

Merge cells: concatenate 2 cells to form one text string

  1. #1
    Registered User
    Join Date
    05-22-2019
    Location
    london
    MS-Off Ver
    Office 365
    Posts
    85

    Merge cells: concatenate 2 cells to form one text string

    Hi, I need a quick formula.

    How do I merge the attached cells to read the highlighted cell?

    Many Thanks
    Attached Files Attached Files
    Last edited by AliGW; 08-28-2020 at 03:49 AM. Reason: Make your thread ttiles more descriptive in future, please!

  2. #2
    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
    81,162

    Re: Merge cells

    Your thread title is poor, as merging cells is not what you are asking about. What you have described in your post and shown in the workbook is concatenation.

    Try this:

    =C4&" "&TEXT(C2,"dd mmmm yyyy")

    I have edited your thread title this time: take more care and be more descriptive in future, please.
    Last edited by AliGW; 08-28-2020 at 03:49 AM.
    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.

  3. #3
    Registered User
    Join Date
    05-22-2019
    Location
    london
    MS-Off Ver
    Office 365
    Posts
    85

    Re: Merge cells: concatenate 2 cells to form one text string

    Thank you... I will.

    Also. How do I add in the "st" into the date?

    So it reads "31st" and not "31".

  4. #4
    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
    81,162

    Re: Merge cells: concatenate 2 cells to form one text string

    That's not what you showed in your workbook - in future, please state everything you want at the outset.

    You could try this:

    =C4&" "&TEXT(C2,"dd")&LOOKUP(--TEXT(C2,"dd"),{1,2,3,4,21,22,23,24,31},{"st","nd","rd","th","st","nd","rd","th","st"})&" "&TEXT(C2, "mmmm yyyy")

+ 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. Replies: 11
    Last Post: 04-04-2017, 03:49 PM
  2. [SOLVED] Macro merge cells separated by comma, ignore blank cells
    By lagiosman in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-22-2014, 04:49 PM
  3. Replies: 2
    Last Post: 01-22-2014, 02:35 PM
  4. Merge data from cells on 2nd columns in which the cells of 1st column repeat
    By jagke in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-14-2013, 01:06 PM
  5. [SOLVED] Merge Cells When Other Merged Cells Receive Specific Data
    By swordswinger710 in forum Excel Programming / VBA / Macros
    Replies: 39
    Last Post: 04-03-2012, 10:34 AM
  6. Replies: 2
    Last Post: 07-20-2006, 09:05 AM
  7. [SOLVED] MERGE CELLSHow to merge two cells in excel?
    By laure abbass in forum Excel General
    Replies: 1
    Last Post: 11-10-2005, 01: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