Date formats for Excel

[Closed]
Report
-
 John Franco -
Hello,
I have a database of names and other details in Dbase IV. I migrated this database to Excel, but not all the dates are coming out well. Some dates are coming out as 19881015 instead of 15/10/1988. Is there a way of correcting this?

1 reply

Assuming 19881015 is in A1; Use DATE(year, month, day)

Do it this way:

=DATE(LEFT(A1;4);MID(A1;5;2);RIGHT(A1;2))

Source: http://www.excel-spreadsheet-authors.com/excel-number-to-date.html