Show dates the way your report needs
Number formats8 min
Builds on Show money with number, currency and accounting formats and Copy a formula down a column.
An HR assistant in Vancouver tracks the laptops lent to new hires. The export shows numbers such as 46355 where the dates should be, and the IT manager wants return dates written like Mon 7 Dec.
How it works
Excel stores a date as a number: the count of days since Jan 1, 1900, which is day 1. Nov 29, 2026 is day 46355, and a date format only shows that number as a date. So a column of numbers like 46355 is a column of dates in the General format, and a date format brings them back.
Because dates are numbers, you can calculate with them: the later date minus the earlier one is the number of days between them, and a date plus 14 is two weeks later.
To choose the look, open Format Cells (Ctrl1, or Cmd1 on a Mac), pick Custom and build a code from these parts, with spaces or other separators between them:
| Row | A | B |
|---|---|---|
| 1 | Code | Shows for Nov 29, 2026 |
| 2 | d or dd | 29 (dd adds a zero to days 1 to 9, as in 07) |
| 3 | ddd or dddd | Sun or Sunday |
| 4 | m or mm | 11 |
| 5 | mmm or mmmm | Nov or November |
| 6 | yy or yyyy | 26 or 2026 |
Spell the month out on sheets read on both sides of the Atlantic: 11/12/2026 is Nov 12 in North America and Dec 11 in Europe, and 12 Nov 2026 is the same date everywhere.
Example
A welcome pack goes out on the date in F2, Nov 29, 2026. With the code dddd,, F2 shows Sunday, November 29, and the cell still holds 46355.
Common mistakes
- A difference of two dates that shows as a date, such as 9 Jan 1900, is a number in a date format. Give the cell the General or Number format.
- Dates that arrived as text, such as 29.11.2026 in a US Excel, ignore every date format and sit on the left of the cell. Turn them into real dates first.
In short
- A date is a count of days, and a format shows it as a date.
- Build the look you need from
d,ddd,mmm,yyyyand the other codes. - Subtract dates for the days between them, and give the result the General format if it shows as a date.
Practice
4 exercises · free, no account needed