Yes, Excel can calculate the end of a quarter from any date with a single formula. The most reliable approach is =EOMONTH(A1, MOD(3-MONTH(A1), 3)), which returns the last day of the quarter that the date in cell A1 falls in. If you also want to return a "Q1 2025"-style label instead of a date, a short text formula does that too. Both work in every modern version of Excel, including Excel for the web and Microsoft 365, and no add-ins are needed.

What You'll Need

  • Excel (desktop, Excel for the web, or the mobile app - the formulas here work in all of them)
  • A column of dates you want to convert to quarter end dates
  • Basic familiarity with typing formulas into cells

Step-by-Step

  1. Put your date in a cell. For this guide, assume the date is in cell A1. Make sure Excel recognizes it as a real date (it should align to the right of the cell by default). If it aligns left, it is being stored as text and the formulas will fail.
  2. Enter the end-of-quarter formula. In an empty cell, type:
    =EOMONTH(A1, MOD(3-MONTH(A1), 3))
    and press Enter.
  3. Understand what it does. MONTH(A1) returns the month number (1-12). MOD(3-MONTH(A1), 3) works out how many months to add to land on the quarter's final month: January (1) adds 2 months to reach March, March (3) adds 0, April (4) adds 2 to reach June, and so on. EOMONTH then returns the last day of that month, handling the 30- vs 31-day difference automatically.
  4. Fix the formatting if you see a number. If the result shows as a five-digit number like 45748, the cell is formatted as a number. Select the cell, go to Home > Number Format dropdown and choose Short Date or Long Date. Menu labels can differ slightly between Excel versions and platforms, but the Number group on the Home tab is consistent.
  5. Copy the formula down. Drag the fill handle (the small square at the bottom-right of the cell) down alongside your date column, or double-click it to fill down automatically.
  6. (Optional) Return a quarter label instead. To get text like "Q1 2025", use:
    ="Q" & ROUNDUP(MONTH(A1)/3, 0) & " " & YEAR(A1)
    ROUNDUP(MONTH/3) maps months 1-3 to 1, months 4-6 to 2, and so on.
  7. (Optional) Get the start of the quarter too. For the first day of the quarter, use:
    =EOMONTH(A1, MOD(-MONTH(A1), 3)) + 1
    This finds the last day of the previous quarter and adds one day.
  8. Use today's date if needed. To always return the end of the current quarter, replace A1 with TODAY():
    =EOMONTH(TODAY(), MOD(3-MONTH(TODAY()), 3))
    The result updates automatically whenever the workbook recalculates.

Common Mistakes

  • Dates stored as text. If A1 contains "03/15/2025" as text rather than a date, MONTH and EOMONTH return a #VALUE! error. Re-enter the date or use Date > Text to Columns on the column to convert it.
  • Forgetting EOMONTH handles month lengths. People sometimes build a formula with fixed "31" days, which breaks for quarters ending in June or September (30 days). EOMONTH avoids this entirely.
  • Leaving the result cell formatted as a number. The formula is correct, but the display shows a serial number. Format it as a date.
  • Using the wrong absolute/relative references. If your dates are in a fixed column and you copy the formula across, lock the column with $A1 so it doesn't shift.
  • Confusing fiscal quarters with calendar quarters. This formula returns calendar quarters (Mar/Jun/Sep/Dec). If your fiscal year starts in a different month, see the Tips section.

Tips

  • For fiscal quarters with a different start month, shift the date before calculating. If your fiscal year starts in April, use:
    =EOMONTH(EDATE(A1, -3), MOD(3-MONTH(EDATE(A1, -3)), 3))
    The -3 shifts April back to January, so the standard math applies, then EOMONTH finds the fiscal quarter end.
  • Microsoft 365 users can convert a whole column at once by wrapping the formula in a dynamic array range, e.g. =EOMONTH(A1:A100, MOD(3-MONTH(A1:A100), 3)), and the results spill automatically.
  • Combine with conditional formatting to highlight dates within the current quarter, useful for deadline trackers.
  • Store quarter end dates as dates, not text, so you can still sort, filter, and use them in calculations like DATEDIF or NETWORKDAYS.

Troubleshooting

  • #VALUE! error: the referenced cell is not a valid date. Check that the cell contains a true date value, not text. Select the cell and look at the formula bar - a real date shows as a date, text often shows with a leading apostrophe.
  • #NAME? error: the formula name is misspelled, or you are using a very old Excel version where EOMONTH required the Analysis ToolPak add-in (enabled by default in modern versions). Retype the formula carefully.
  • #REF! error: the formula points to a cell that was deleted. Undo (Ctrl+Z) or fix the cell reference.
  • Wrong quarter returned: verify the source date. A date like 4/5/2025 may be interpreted as April 5 or May 4 depending on your regional date settings. Check File > Options > Region settings, or enter dates in an unambiguous format like 2025-04-05.
  • Formula shows instead of the result: the cell is formatted as Text. Change the format to General or Date (Home > Number Format), then press F2 and Enter to re-evaluate.

Frequently Asked Questions

Does EOMONTH work in older Excel versions?

It works natively from Excel 2007 onward. In Excel 2003 it required the Analysis ToolPak add-in, which had to be enabled manually.

Can I get the quarter number instead of the end date?

Yes. Use =ROUNDUP(MONTH(A1)/3, 0) to return 1, 2, 3, or 4.

Does this work in Google Sheets?

Yes. EOMONTH, MONTH, MOD, and EDATE all behave the same way in Google Sheets, so the formulas can be copied across unchanged.

How do I return the previous quarter's end date?

Use =EOMONTH(A1, MOD(-MONTH(A1), 3)) - the negative inside MOD makes it land on the last month of the prior quarter.

Why does my result show a number like 45716?

Excel stores dates as serial numbers. The formula is working; you just need to format the cell as a date via Home > Number Format.

Can I use this in a PivotTable or table?

Yes. Add the formula as a calculated column in a table and it fills automatically; you can also group by that column in a PivotTable.