Skip to content

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.

The dates are the numbers 46355 and 46364 in a date format, so subtracting one from the other gives 9 days. General: in H2, =G2-F2 returns 9. Dates as d mmm yyyy: in H2, =G2-F2 returns 9.

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:

RowAB
1CodeShows for Nov 29, 2026
2d or dd29 (dd adds a zero to days 1 to 9, as in 07)
3ddd or ddddSun or Sunday
4m or mm11
5mmm or mmmmNov or November
6yy or yyyy26 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, mmmm d, 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, yyyy and 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

Start practicing
  1. Not started

    1. Return dates with the weekday

    Number format · easy

  2. Not started

    2. How long each laptop was out

    Formula · medium

  3. Not started

    3. Invoice age on the report date

    Formula · hard

  4. Not started

    4. Numbers where the dates should be

    Quiz · easy