Excel shows dates in whatever format your computer uses by default, but you can change how any date appears in a cell without changing the actual date value
When you type a date into Excel, the program stores the real date information — the day, month, and year — but displays it according to your system settings. If your computer is set to US format, you see dates like 3/15/2024. If it's set to UK format, the same date shows as 15/3/2024. You can override this and display dates however you want: as "March 15, 2024" or "15-Mar-24" or any other arrangement. The underlying date doesn't change, only how it looks on screen and in print.
Changing a date format takes about 30 seconds and works the same way whether you're formatting one cell or an entire column. Excel comes with dozens of built-in formats, and if none of those match what you need, you can create a custom one using simple letter codes.
Key Takeaways
- Select the cells containing dates, right-click, choose Format Cells, then pick Date from the Category list to see all available date formats.
- Excel comes with dozens of built-in date formats, and you can create a custom format if none of the standard ones match what you need.
- Changing the date format affects only how the date displays — the actual date value stays the same, so calculations and sorting still work correctly.
- If a date shows as a number like 45000 instead of a date, the cell format is set to Number instead of Date; switching it to Date fixes the display.
How to use the Format Cells dialog to change date display
The most direct way to change a date format is through the Format Cells dialog. First, click on any cell that contains a date. If you want to change multiple dates at once, click the first one, then hold Shift and click the last one to select the range. You can also click the column header to select an entire column of dates.
Right-click on the selected cell or cells and choose Format Cells from the menu that appears. A dialog box opens. Click the Number tab at the top (it's usually already selected). In the Category list on the left, click Date. The middle panel now shows all the date formats Excel has built in. Click any format to see a preview of how your dates will look. Once you find one you want, click OK.
Excel applies that format to every selected cell. The dates now display in the new format, but the actual date values haven't changed. If you sort by those cells or use them in a formula, Excel still recognizes them as real dates.
Understanding the date format codes if you need something custom
If none of Excel's built-in formats match what you need, you can create your own. In the Format Cells dialog, with Date selected in the Category list, look at the bottom of the dialog. You'll see a field labeled Type that shows code like mm/dd/yyyy or d-mmm-yy. This code tells Excel how to arrange the date parts.
The codes work like this: d is the day (1–31), dd is the day with a leading zero (01–31), m is the month (1–12), mm is the month with a leading zero (01–12), mmm is the month abbreviation (Jan, Feb), mmmm is the full month name, yy is the two-digit year (24), and yyyy is the four-digit year (2024). You can also add text like slashes, hyphens, or spaces between them.
To create a custom format, click in the Type field and clear what's there. Type the code you want — for example, dddd, mmmm d, yyyy produces "Friday, March 15, 2024". Click OK and Excel applies it. If you make a mistake, just go back to Format Cells and try again; you can't break anything by experimenting with formats.
Why a date might show as a number and how to fix it
Sometimes you paste a date into Excel or receive a file where dates display as long numbers like 45000 instead of an actual date. This happens because the cell format is set to Number instead of Date. The date information is there — Excel just isn't displaying it as a date.
To fix this, select the cells showing numbers, right-click, and choose Format Cells. Click the Number tab, select Date from the Category list, pick a format, and click OK. The numbers instantly convert to readable dates. If you want to understand what those numbers mean: Excel counts days starting from January 1, 1900, so 45000 represents a date roughly 123 years later.
Changing date format for an entire column at once
If you have a spreadsheet with many rows of dates in one column, you don't have to select each cell individually. Click the column header — the letter at the very top of the column — and the entire column highlights. Right-click and choose Format Cells, then select Date and pick your format. Every date in that column now displays in the new format.
This also works if you're building a new spreadsheet. Before you enter any dates, format the column first. Then every date you type into that column automatically uses the format you chose. This saves time if you know you want all dates to look a certain way from the start.
How date format affects sorting and filtering
Changing how a date looks on screen doesn't affect how Excel sorts or filters it. If you sort a column of dates from oldest to newest, Excel sorts by the actual date value, not by how it's displayed. A date formatted as "Mar 15" sorts correctly alongside dates formatted as "3/15/2024" because Excel knows they're all real dates underneath.
The same applies to filtering. If you use Excel's filter feature to show only dates after a certain point, the filter works based on the real date, not the format. This is why formatting dates is safe — you can change how they look without worrying that your data will sort or filter incorrectly.
Common date formats and when to use each one
Excel's built-in formats cover most situations. The format m/d/yyyy (3/15/2024) is standard in the United States. The format d/m/yyyy (15/3/2024) is standard in the UK and many other countries. If you need dates to be compact, mm/dd/yy (03/15/24) saves space. For readability in reports or presentations, mmmm d, yyyy (March 15, 2024) or d mmmm yyyy (15 March 2024) works well.
If you're working with international teams or sending files to people in different countries, consider using a format that's unambiguous. The format yyyy-mm-dd (2024-03-15) is recognized worldwide and sorts correctly even if someone opens your file in a different region. You can create this custom format by entering yyyy-mm-dd in the Type field in Format Cells.
Frequently Asked Questions
Can I change the date format for just one cell without affecting others?
Yes. Click the single cell, right-click, choose Format Cells, select Date, pick your format, and click OK. Only that cell changes. If you want the same format on other cells later, you can select them and repeat the process, or use the Format Painter tool to copy the format from one cell to others.
What if I want to display the day of the week along with the date?
Use a custom format code. In Format Cells, go to the Type field and enter dddd, mmmm d, yyyy to get "Friday, March 15, 2024". Use ddd instead of dddd if you want the abbreviated day name, like "Fri".
Does changing the date format change the actual date stored in the cell?
No. The date value stays exactly the same. Only the display changes. If you use that cell in a formula or sort by it, Excel uses the real date, not the formatted appearance. You can change the format back anytime without losing information.
Why does my date still look wrong after I changed the format?
The most common reason is that the cell contains text that looks like a date, not an actual date. Excel treats text differently from dates. If you typed the date with an apostrophe before it (like '3/15/2024), Excel stored it as text. Try deleting the content and re-entering it without the apostrophe, then format it as a date.
Can I use a format that shows the time along with the date?
Yes. In Format Cells, select Date from the Category list, and you'll see formats that include time, like 3/15/2024 2:30 PM. If you don't see one you like, create a custom format using codes like m/d/yyyy h:mm AM/PM for 12-hour time or m/d/yyyy h:mm for 24-hour time.