ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I combine 2 sets of dates using concatenate function? (https://www.excelbanter.com/excel-worksheet-functions/199796-how-do-i-combine-2-sets-dates-using-concatenate-function.html)

JunIX

How do I combine 2 sets of dates using concatenate function?
 
Sample:

Cell A1 26-Mar-08
Cell A2 25-Apr-08

to get "26-Mar-08 to 25-Apr-08"

Pete_UK

How do I combine 2 sets of dates using concatenate function?
 
Try this:

=TEXT(A1,"dd-mmm-yy")&" to "&TEXT(A2,"dd-mmm-yy")

Hope this helps.

Pete

On Aug 22, 1:10*am, JunIX wrote:
Sample:

Cell A1 * *26-Mar-08
Cell A2 * *25-Apr-08

to get "26-Mar-08 to 25-Apr-08"



Barb Reinhardt

How do I combine 2 sets of dates using concatenate function?
 
=FORMAT(A1,"dd-mmm-yyyy") & " to " & FORMAT(A2,"dd-mmm-yyyy")
--
HTH,
Barb Reinhardt



"JunIX" wrote:

Sample:

Cell A1 26-Mar-08
Cell A2 25-Apr-08

to get "26-Mar-08 to 25-Apr-08"


Barb Reinhardt

How do I combine 2 sets of dates using concatenate function?
 
Oops, that should have been

= TEXT(A1,"dd-mmm-yyyy") & " to " & TEXT(A2,"dd-mmm-yyyy")
--
HTH,
Barb Reinhardt



"JunIX" wrote:

Sample:

Cell A1 26-Mar-08
Cell A2 25-Apr-08

to get "26-Mar-08 to 25-Apr-08"


JunIX

How do I combine 2 sets of dates using concatenate function?
 
Mate, you are a legend. It worked.

"Pete_UK" wrote:

Try this:

=TEXT(A1,"dd-mmm-yy")&" to "&TEXT(A2,"dd-mmm-yy")

Hope this helps.

Pete

On Aug 22, 1:10 am, JunIX wrote:
Sample:

Cell A1 26-Mar-08
Cell A2 25-Apr-08

to get "26-Mar-08 to 25-Apr-08"




Pete_UK

How do I combine 2 sets of dates using concatenate function?
 
Okay, thanks for feeding back.

Pete

On Aug 22, 1:37*am, JunIX wrote:
Mate, you are a legend. It worked.



All times are GMT +1. The time now is 09:53 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com