Get the Quarter From a Date
Deals close on specific dates, but the pipeline review rolls everything up by quarter — each close date needs a Q1, Q2, Q3, or Q4 label.
Excel & Google Sheets
This formula works in both Excel and Google Sheets.
How it works
MONTH pulls the month number from the date, and dividing by 3 maps months onto quarters: July is 7 ÷ 3 = 2.33, and ROUNDUP takes that to 3 — third quarter. The trick works for every month: 1–3 round up to 1, 4–6 to 2, 7–9 to 3, 10–12 to 4. Gluing "Q" on the front with & produces the familiar Q3 label. This assumes calendar quarters starting in January; if your fiscal year starts in another month, shift the month number before dividing, or use a small 12-row lookup table, which is easier to audit.
When to use it
Use it to tag deals by close quarter, group invoices for quarterly VAT or sales-tax filings, or build quarter columns for pivot tables and budget-versus-actual reports.
Common mistakes
Did this formula help?
Engine-verified against the sample data aboveDownload the proof sheet (.xlsx)Last reviewed 2026-07-09