Excel Date Column: How to Format and Fix Dates
In this article
To get a working date column in Excel, type dates in a format Excel recognises (such as 2025-03-14 or 3/14/2025), then select the column and set the number format to Date via the Home tab or Format Cells. If your dates arrived as text, convert them with Text to Columns or DATEVALUE before formatting. This guide walks through entering, formatting, converting and troubleshooting a date column so it sorts, filters and calculates correctly.
What You'll Need
- Excel for Microsoft 365, Excel 2021/2019, or Excel for Mac (steps are similar; labels can differ slightly by version and region).
- A worksheet with a column reserved for dates.
- Basic familiarity with selecting cells and using the Home tab.
Step-by-Step
- Enter dates in a recognised format. Type dates as 2025-03-14, 3/14/2025 or 14-Mar-2025. Excel treats these as real dates (serial numbers) rather than text. Avoid formats like March 14th, 2025 with ordinal suffixes, which Excel may store as text.
- Select the whole column. Click the column letter at the top (for example, column A) so the entire column is selected. This ensures new entries inherit the format.
- Apply a date format. On the Home tab, open the Number Format dropdown and choose Short Date or Long Date. For more control, press Ctrl+1 (Cmd+1 on Mac) to open Format Cells, select the Number tab, choose Date, then pick a type and locale.
- Check that entries are real dates. Real dates align to the right by default; text aligns left. If a date sits on the left, it is likely stored as text and needs conversion (see Step 5).
- Convert text dates with Text to Columns. Select the column, go to Data > Text to Columns, click Next twice, choose Date and the correct order (for example, MDY), then click Finish. Excel converts the text to real dates. Alternatively, use a helper column with
=DATEVALUE(A2)and copy the results back as values. - Fill down for new rows. If you have a formula-driven date column, drag the fill handle or double-click it to copy the formula down. For manual entry, format the column first so new dates inherit the correct display.
- Sort and filter to confirm. Use Data > Sort Oldest to Newest. If dates sort correctly, they are stored as real dates. If they sort alphabetically (for example, all April dates together regardless of year), they are still text.
- Use dates in formulas. Once the column contains real dates, functions like
=TODAY()-A2(days since a date) or=YEAR(A2)work correctly. Format the result cell as General or Number if it shows a date instead of a count.
Common Mistakes
- Typing dates as text. Entries like 14.03.2025 may be interpreted differently by region, and March 14, 2025 can be stored as text if the cell was pre-formatted as Text. Set the column to General or Date before typing.
- Mixing date and text in one column. A single text entry can prevent sorting and filtering from working as expected. Convert all entries to real dates.
- Assuming left-aligned means correct. Left alignment is a strong sign of text. Right alignment usually means a real date.
- Using a custom format that hides the year. Formats like dd/mm display fine but can confuse readers. Choose a format that includes the year for clarity.
- Pasting dates from another system. Copied dates may arrive as text with extra spaces. Use Text to Columns or TRIM before converting.
Tips
- Use Ctrl+; to insert today's date quickly as a static value.
- Use
=TODAY()for a date that updates each time the workbook recalculates. - Apply a date format to the entire column before entering data so every new row matches.
- For international workbooks, set the locale in Format Cells > Date to match the audience (for example, English (United Kingdom) for DD/MM/YYYY).
- Keep a helper column with the original text if you convert dates, so you can verify the conversion.
Troubleshooting
Dates will not sort correctly. Select the column, run Data > Text to Columns with the correct date order, then reapply the Date format. Check for leading spaces with =TRIM(A2).
Excel shows a number like 45730 instead of a date. The cell is formatted as General or Number. Press Ctrl+1, choose Date, and pick a format.
Dates show as ####. The column is too narrow. Widen the column or reduce the font size.
Text to Columns changes the wrong values. Undo with Ctrl+Z, then confirm the date order (MDY, DMY or YMD) before finishing. Work on a copy of the sheet if the data is important.
Formulas return a date instead of a number. Format the formula cell as General or Number; Excel inherits date formatting from referenced cells.
Frequently Asked Questions
Why does Excel treat my date as text?
Usually because the cell was formatted as Text before entry, or the date uses a format Excel does not recognise in your region. Convert with Text to Columns or DATEVALUE, then apply a Date format.
How can I tell if a cell contains a real date?
Real dates align right by default and change when you apply a different date format. Text dates stay left-aligned and do not respond to date formatting.
Can I enter dates without typing slashes?
Yes. Type 20250314 and Excel may convert it to a date depending on your settings, but the safer method is to type a recognised format such as 2025-03-14.
How do I stop Excel from auto-converting dates?
Pre-format the column as Text before entering data, or type an apostrophe before the date (for example, '3/14/2025). Note that text dates will not calculate or sort as dates.
Do date formats change between Windows and Mac?
The Format Cells dialog is similar, but shortcut keys differ (Ctrl+1 on Windows, Cmd+1 on Mac). Menu labels can also vary slightly by version and region.
How do I add days to a date column?
Use a formula such as =A2+7 to add a week, then format the result as a date. Copy the formula down the column.