Fix the Wrong Year When Converting DD.MM.YYYY Dates in Excel
Question details
Convert DD.MM.YYYY date text into Excel dates without changing the century.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A user is converting dates such as 06.03.2017 from text into usable Excel dates.
- Observed behavior
- The conversion can return a date in 1917 instead of 2017 when the formula extracts only the last two digits of the year.
Check that the source values are text in the consistent DD.MM.YYYY format, with two digits each for the day and month. Identify the first source cell and an empty column for the converted dates.
Extract the Full Year with the DATE Formula
Use this formula when the source dates are text in a consistent DD.MM.YYYY format.
Excel adds 1900 to year arguments from 0 through 1899. Extracting 17 instead of 2017 therefore produces 1917.
In an empty cell next to the first date in G2, enter =DATE(RIGHT(G2,4),MID(G2,4,2),LEFT(G2,2)). Replace G2 with your source cell if needed.
Select the formula cell and drag its fill handle down alongside the remaining dates.
Select the results, open Format Cells, and choose Date or a custom format such as dd.mmm.yyyy.

Convert Date Text with Text to Columns
Use Excel's import wizard to convert a selected column of DD.MM.YYYY text dates in place.
Correct DD.MM.YYYY Dates in WPS Spreadsheets
Use the DATE formula in WPS Spreadsheets to extract the full year from date text and display the result as a usable date.
- 1. Open the workbook: Open WPS Spreadsheets and use Open to select the workbook containing the date text.
- 2. Enter the formula: In an empty cell, enter =DATE(RIGHT(G2,4),MID(G2,4,2),LEFT(G2,2)), replacing G2 with the first source cell if necessary.
- 3. Apply it to the column: Select the formula cell and drag the fill handle down to convert the remaining dates.
- 4. Format the dates: Select the results, open Format Cells, and choose a date format such as dd.mmm.yyyy.

Frequently Asked Questions
Why does Excel turn 2017 into 1917?
If the DATE formula receives 17 as its year argument, Excel adds 1900 and uses 1917. Change RIGHT(G2,2) to RIGHT(G2,4) to extract 2017.
Can I convert the dates without a formula?
Yes. Select the text dates, choose Data > Text to Columns, click Next twice, and select Date > DMY before clicking Finish.
Why does my converted date appear as a number?
Excel stores dates as serial numbers. Select the result, open Format Cells, and choose a Date format to display it as a date.
Will the formula work if the source cell is already a real date?
The formula is intended for text in DD.MM.YYYY format. If the cell already contains a real date, use Format Cells to change its display instead.




