ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   How do i concatenate two date fields. (https://www.excelbanter.com/new-users-excel/241922-how-do-i-concatenate-two-date-fields.html)

J9

How do i concatenate two date fields.
 
Dear Excel

How do i concatenate two date fields with out losing the date format?

Thanks

Rick Rothstein

How do i concatenate two date fields.
 
Use the TEXT function. For example...

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

where A1 and A2 are assumed to hold your dates and that the format you want
your dates in are mm/dd/yyyy.

--
Rick (MVP - Excel)


"J9" wrote in message
...
Dear Excel

How do i concatenate two date fields with out losing the date format?

Thanks




All times are GMT +1. The time now is 08:25 PM.

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