Sub topic 1
Dates Are Numbers: Serial Values and Formatting
Prerequisites
Assume you know basic Excel formulas, relative and absolute references, and a column-based financial model where periods run from left to right. You should also know how to use SUMIFS, YEAR, and MONTH.
Why financial models use dates
A financial model needs dates to identify each period. Revenue, costs, debt payments, and other values must connect to the correct month or year. A date row that looks correct but contains inconsistent values can produce incorrect totals without obvious errors.
Excel stores a date as a serial number. The whole-number part represents the number of days from Excel's date-system starting point. For example, in the usual Windows date system:
| Displayed date | Approximate serial value |
|---|---|
| 1-Jan-1900 | 1 |
| 2-Jan-1900 | 2 |
| 15-Jan-2025 | 45672 |
The exact serial value matters to formulas, but the displayed format matters to the reader. Excel can display the same value as 15-Jan-25, January 2025, or 15/01/2025.
Formatting changes appearance, not value
If cell C2 contains the date 15-Jan-2025, changing its number format does not change the stored date. It only changes how Excel displays the serial number.
Use the Format Cells dialog or a custom number format such as:
dd-mmm-yyyyThis displays the date as 15-Jan-2025. A format such as:
mmm-yydisplays it as Jan-25. This is useful for compact monthly headers.
A date can also include a time. Excel stores the time as a fraction of a day. For example, noon is approximately 0.5, because it is half of a 24-hour day. Thus, a value containing 15-Jan-2025 at noon is the date serial for 15-Jan-2025 plus 0.5.
=DATE(2025,1,15)
=DATE(2025,1,15)+0.5The first formula returns midnight on 15-Jan-2025. The second returns noon on that date. Format the second result as dd-mmm-yyyy hh:mm to see the time.
Create dates with formulas
Build model inputs with DATE rather than typing ambiguous text such as 01/02/2025. Depending on regional settings, that text may mean 1 February or 2 January.
=DATE(2025,1,15)
=YEAR(C2)
=MONTH(C2)
=DAY(C2)DATE creates a serial date from a year, month, and day. The other functions read components from an existing date. These formulas are reliable because they work with the underlying number rather than the displayed text.
Dates in a timeline
Timeline formulas compare serial numbers. A later date has a larger value, so this test checks whether a date falls within a period:
=AND(F4>=D5,F4<=D6)Here, F4 is an event date, D5 is the period start, and D6 is the period end. The formula returns TRUE when the event occurs on or between the two boundaries.
A useful mental model is:
Common errors
- Treating a displayed date as text and assuming formulas will recognize it.
- Mixing dates from different regional conventions.
- Including a time value when a comparison expects midnight.
- Formatting a serial number as a date when it is actually a financial amount.
- Entering dates separately across columns instead of deriving them from one model input.
For a robust timeline, keep the source date as a real serial date, derive later dates with date functions, and format the result consistently. The next step is to use EOMONTH and EDATE to move through months without relying on manual entries.
Exercise
Cell C2 contains 15-Jan-2025 and displays as Jan-25. Does the custom format mmm-yy change the value used by YEAR(C2)?
Show answer
No. The format changes only the display. YEAR(C2) still returns 2025 because C2 contains the same underlying serial date.