FormulaCraft

How to calculate the fiscal year from a date in Excel and Google Sheets

Topic:Date arithmetic
Excel & Google Sheets
=IF(MONTH(B2)>=7, YEAR(B2)+1, YEAR(B2))

Verified example

Computed by a real spreadsheet engine on the sample data below.

DateFiscal Year
2023-06-30
2023-07-01
2024-01-01
2024-12-31

=IF(MONTH(B2)>=7, YEAR(B2)+1, YEAR(B2))1900

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Enter your date in cell B2 of your spreadsheet.
  2. 2In cell C2, enter the formula provided for Excel or Google Sheets.
  3. 3Press Enter to see the fiscal year calculated based on the date.

Tips

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.

Frequently asked

What if my fiscal year starts in January?

Change the formula to =YEAR(B2) since the fiscal year aligns with the calendar year.

How can I handle dates in different formats?

Convert all dates to a standard format using Excel's DATEVALUE or Google Sheets' DATE functions before applying the fiscal year formula.

Can this formula be used for multiple dates at once?

Yes, copy the formula down from C2 to apply it to other dates in column B.

More on Date arithmetic

See all →

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: