Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=IF(MONTH(B2)>=7, YEAR(B2)+1, YEAR(B2))Computed by a real spreadsheet engine on the sample data below.
| Date | Fiscal Year |
| 2023-06-30 | |
| 2023-07-01 | |
| 2024-01-01 | |
| 2024-12-31 |
=IF(MONTH(B2)>=7, YEAR(B2)+1, YEAR(B2))→1900
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.
Change the formula to =YEAR(B2) since the fiscal year aligns with the calendar year.
Convert all dates to a standard format using Excel's DATEVALUE or Google Sheets' DATE functions before applying the fiscal year formula.
Yes, copy the formula down from C2 to apply it to other dates in column B.
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: