Convert a date into its calendar quarter (1–4).
Copy this formula
=ROUNDUP(MONTH(A2)/3, 0)MONTH returns 1–12; dividing by 3 and rounding up groups months into quarters (Jan–Mar → 1, Apr–Jun → 2, and so on). Concatenate with "Q" for a label like Q2.
="Q"&ROUNDUP(MONTH(A2)/3, 0)→Q2April falls in Q2.
=YEAR(A2)&"-Q"&ROUNDUP(MONTH(A2)/3,0).
Need a formula for your own data?
Describe what you want in plain language and let ExcelGPT write, explain, and verify the formula — free to start, no plugin.