+ Reply to Thread
Results 1 to 8 of 8

Formula to Copy Multiple Dates into Single Cell

  1. #1
    Registered User
    Join Date
    09-01-2017
    Location
    Doncaster
    MS-Off Ver
    Office 365 Business
    Posts
    15

    Question Formula to Copy Multiple Dates into Single Cell

    Looking for a formula to take short dates from multiple cells and paste into a single cell with spaces in between.

    E.g

    A1 - 01/01/2017
    A2 - 15/02/2017
    A3 - 24/03/2017

    A4 = 01/01/2017, 15/02/2017, 24/03/2017

    Tried using the formula for copying text (=(A1&" "&A2.......) but the result displays as 5 digit numbers)

    Any help would be appreciated.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,736

    Re: Formula to Copy Multiple Dates into Single Cell

    You can do it like this:

    =TEXT(A1,"dd/mm/yyyy")&" "&TEXT(A2,"dd/mm/yyyy")&" "&TEXT(A3,"dd/mm/yyyy")

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    09-01-2017
    Location
    Doncaster
    MS-Off Ver
    Office 365 Business
    Posts
    15

    Re: Formula to Copy Multiple Dates into Single Cell

    Perfect, thank you!

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,736

    Re: Formula to Copy Multiple Dates into Single Cell

    You're welcome - glad to help.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post and mark this thread as SOLVED.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

  5. #5
    Registered User
    Join Date
    09-01-2017
    Location
    Doncaster
    MS-Off Ver
    Office 365 Business
    Posts
    15

    Re: Formula to Copy Multiple Dates into Single Cell

    Quote Originally Posted by Pete_UK View Post
    You can do it like this:

    =TEXT(A1,"dd/mm/yyyy")&" "&TEXT(A2,"dd/mm/yyyy")&" "&TEXT(A3,"dd/mm/yyyy")

    Hope this helps.

    Pete
    Is there a way to not display a date as "00/01/1900" should one of these cells not contain a date?
    Last edited by Meteorain; 09-01-2017 at 06:54 AM. Reason: Typo Correction

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Formula to Copy Multiple Dates into Single Cell

    Use this instead:

    =IF(ISNUMBER(A1),TEXT(A1,"dd/mm/yyyy"),"")&IF(ISNUMBER(A2),", "&TEXT(A2,"dd/mm/yyyy"),"")&IF(ISNUMBER(A3),", "&TEXT(A3,"dd/mm/yyyy"),"")
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  7. #7
    Registered User
    Join Date
    09-01-2017
    Location
    Doncaster
    MS-Off Ver
    Office 365 Business
    Posts
    15

    Re: Formula to Copy Multiple Dates into Single Cell

    Thank You!

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Formula to Copy Multiple Dates into Single Cell

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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: 3
    Last Post: 12-29-2016, 01:32 AM
  2. [SOLVED] Looking to copy multiple relative references in a single formula.
    By Klairvoy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-18-2016, 02:38 PM
  3. Replies: 1
    Last Post: 09-23-2014, 06:42 PM
  4. multiple string dates in cell, to array, and manipulate single elements
    By willara23 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-18-2013, 07:48 PM
  5. Replies: 5
    Last Post: 05-25-2013, 07:12 AM
  6. [SOLVED] Copy single cell into multiple cells
    By timvdbekerom in forum Excel General
    Replies: 5
    Last Post: 11-06-2012, 10:54 AM
  7. Replies: 2
    Last Post: 01-12-2006, 12:25 AM

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