Make a calendar year-quarter text key

Turn November 4, 2026 into 2026-Q4, the year and quarter in one label.

What you'll make

In Excel: November 4, 2026 becomes 2026-Q4.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1YEAR(A8)The calendar year of the date."2026"
2&"-Q"&Adds a dash and the letter Q."2026-Q"
3ROUNDUP(MONTH(A8)/3,0)The month divided by 3, rounded up: the quarter."2026-Q4"

Read it left to right. January to March is Q1, and October to December is Q4.

=YEAR(A8)&"-Q"&ROUNDUP(MONTH(A8)/3,0)

How to use it

Yellow bar at the top? Click Enable Editing.

  1. See it work. The Example tab shows 20 made-up examples with the formula already in.
  2. Use your own dates. Paste real dates into the green column of the Template tab. The labels fill in by themselves.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

This uses calendar quarters. If your year starts in another month, the quarters will differ.

Microsoft's help: ROUNDUP function