Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=SUMPRODUCT((INT(MOD(MONTH(A2:A9)-C2+12,12)/3)+1=E2)*(YEAR(A2:A9)+(MONTH(A2:A9)<C2)=F2)*B2:B9)Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.
Set C2 to 4. January, February, and March dates will map to Q4 of the prior fiscal year automatically.
Not directly — pivot tables use calendar quarters. Add a helper column with the fiscal quarter label and use that as a pivot field.
Work with the current date and measure the gap between two dates.
How-toTurn a birth date into an age in years with DATEDIF and TODAY. Works the same in Excel and Google Sheets.
ReferenceCalculates the difference between two dates in years, months, or days using a unit code string.
How-toSubtract one date from another to get the number of days, or count working days with NETWORKDAYS. Works in both apps.
How-toShift a date forward or back by a number of months with EDATE — it handles month lengths correctly. Works in both apps.
How-toMark rows whose due date has passed by comparing it to TODAY() with IF. Works the same in Excel and Google Sheets.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: