Dashboards should say exactly what period they cover. TEXT formats each date as words, and joining them with a dash gives a subtitle that updates whenever the start and end cells change. End minus start plus one counts the days included.
A start of 11/1/2026 and an end of 11/29/2026 give the label Nov 1 - Nov 29, 2026, covering 29 days.
The example
Three worked examples. Change any yellow input in the practice workbook and the results recalculate.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Case | Start | End | Label | Days |
| 2 | Month to date | Sun 11/1/2026 | Sun 11/29/2026 | Nov 1 - Nov 29, 2026 | 29 |
| 3 | October | Thu 10/1/2026 | Sat 10/31/2026 | Oct 1 - Oct 31, 2026 | 31 |
| 4 | Holiday period | Tue 12/15/2026 | Thu 1/14/2027 | Dec 15 - Jan 14, 2027 | 31 |
The formula
Here is the formula, built directly from the inputs:
How it works
Here is the logic, one piece at a time:
TEXT(B2,"mmm d")writes the start as Nov 1.TEXT(C2,"mmm d, yyyy")adds the year to the end date.&" - "&joins them.C2-B2+1counts both end dates.
Keep every number in its own input cell so the formula never needs editing.
Try it: interactive demo
Enter the values below.
Variations
Year on both dates
For ranges that cross a year.
Month to date
Label ending today.
Pitfalls & errors
When a range crosses a year, show the year on both dates so Dec 15 is not misread.
Joining a date without TEXT shows its serial number, such as 46327.
Reference the label in a chart title so the chart says which period it shows.
Practice workbook
Frequently asked questions
Why does my label show a number?
Are the format codes language-specific?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class