ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Convert text string to date (https://www.excelbanter.com/excel-worksheet-functions/68828-convert-text-string-date.html)

AK

Convert text string to date
 
How do you convert a text string, "112905" to a date of 11/29/05?

So it has the appropriate serial value 38685 for 11/29/05.

Thanks in advance

David Billigmeier

Convert text string to date
 
Try this:

=DATE("20"&RIGHT(A1,2),LEFT(A1,2),MID(A1,3,2))

--
Regards,
Dave


"AK" wrote:

How do you convert a text string, "112905" to a date of 11/29/05?

So it has the appropriate serial value 38685 for 11/29/05.

Thanks in advance



All times are GMT +1. The time now is 11:51 PM.

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