ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   concatenate dates? (https://www.excelbanter.com/excel-discussion-misc-queries/20680-concatenate-dates.html)

gavin

concatenate dates?
 
Is it possible to concatenate dates? In A1 I have 01/01/05 and in B1 I have
01/02/05. What I ant is for C1 to show "01/01/05 - 01/02/05" but when I try
=A1&" - "&B1" I get "38353 - 38384".







Gavin



Jason Morin

Try:

=TEXT(A1,"mm/dd/yy")&" - "&TEXT(B1,"mm/dd/yy")

HTH
Jason
Atlanta, Ga

-----Original Message-----
Is it possible to concatenate dates? In A1 I have

01/01/05 and in B1 I have
01/02/05. What I ant is for C1 to show "01/01/05 -

01/02/05" but when I try
=A1&" - "&B1" I get "38353 - 38384".







Gavin


.


gavin

Many thanks, Jason - much appreciated.



Gavin



"Jason Morin" wrote in message
...
Try:

=TEXT(A1,"mm/dd/yy")&" - "&TEXT(B1,"mm/dd/yy")

HTH
Jason
Atlanta, Ga

-----Original Message-----
Is it possible to concatenate dates? In A1 I have

01/01/05 and in B1 I have
01/02/05. What I ant is for C1 to show "01/01/05 -

01/02/05" but when I try
=A1&" - "&B1" I get "38353 - 38384".







Gavin







All times are GMT +1. The time now is 03:26 AM.

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