ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Transform text in date format (https://www.excelbanter.com/excel-programming/364392-transform-text-date-format.html)

ina

Transform text in date format
 
Hello all,

I have this date 12.12.2006 and I would like to transform in a date
format. Is it possible? any suggestion?

Ina


Michael

Transform text in date format
 
Try this formula:
=DATE(RIGHT(D19,4),MID(D19,4,2),LEFT(D19,2))

Where D19 is the cell where the date is, the modify it as needed.
"ina" wrote:

Hello all,

I have this date 12.12.2006 and I would like to transform in a date
format. Is it possible? any suggestion?

Ina



ina

Transform text in date format
 

Michael wrote:
Try this formula:
=DATE(RIGHT(D19,4),MID(D19,4,2),LEFT(D19,2))

Where D19 is the cell where the date is, the modify it as needed.
"ina" wrote:

Hello all,

I have this date 12.12.2006 and I would like to transform in a date
format. Is it possible? any suggestion?

Ina



Thank you Michael but with vba need I use dateserial, there isn't a
function called date in vba? isn't?

Ina



All times are GMT +1. The time now is 06:40 AM.

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