Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=IF(MONTH(A2)>=4,YEAR(A2),YEAR(A2)-1)Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need it for your exact data?
Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.
Combine fiscal month offset with ROUNDUP: =ROUNDUP(MOD(MONTH(A2)-4+12,12)/3+1,0) gives fiscal Q1-Q4 for an April fiscal year start. Pair this with the fiscal year formula for a full FY label.
Change the comparison month to 7: =IF(MONTH(A2)>=7,YEAR(A2),YEAR(A2)-1). July 2024 through June 2025 will all return 2024.
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: