Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Fiscal Year From Date in Excel: Formula and Examples

· 6 min read · Home Tech

In this article
  1. What a fiscal year means
  2. Formula for a fiscal year ending in the following calendar year
  3. Make the start month easy to change
  4. Fiscal quarters and fiscal year labels
  5. Common errors and date checks
  6. Frequently Asked Questions
  7. Choosing a formula for your workbook

To calculate a fiscal year from a date in Excel, compare the date’s month with the month your fiscal year starts. For a fiscal year that begins in July and is named for the year it ends, if the date is in A2 use =YEAR(A2)+(MONTH(A2)>=7). For example, July 15, 2025 returns 2026; dates before July 1, 2025 return 2025.

What a fiscal year means

A fiscal year is a 12-month period used for accounting, budgeting, or reporting. It does not have to match the calendar year, which runs from January 1 through December 31. A company might use an April-to-March year, while another organization uses July-to-June. The applicable start month depends on the organization or reporting requirement; Excel cannot infer it from a date.

There is also a naming convention to settle before building a formula. In an end-year convention, July 2025 through June 2026 is fiscal year 2026. In a start-year convention, the same span is fiscal year 2025. Both conventions are used, so confirm which one your reports expect. The formula above uses the end year.

Formula for a fiscal year ending in the following calendar year

In Microsoft Excel for Microsoft 365 on Windows, enter actual Excel dates in column A and put the formula in B2. With a July start and end-year naming, use:

=YEAR(A2)+(MONTH(A2)>=7)

Excel evaluates the comparison MONTH(A2)>=7 as TRUE or FALSE. In arithmetic, TRUE counts as 1 and FALSE as 0. So June 30, 2025 produces 2025 + 0, or 2025; July 1, 2025 produces 2025 + 1, or 2026. Fill the formula down to apply it to other rows.

Change 7 to the fiscal start month number: 1 for January, 4 for April, 10 for October, and so on. If the fiscal year is named for the year it starts instead, use this version. With the same date in A2 and a July start, it returns 2025 for both June 30 and July 1, 2025:

=YEAR(A2)-(MONTH(A2)<7)

The first formula is usually the right choice when a July-to-June reporting period is labeled by its ending year; the second labels it by its starting year. Confirm the convention rather than relying on the label “FY2025” alone.

Make the start month easy to change

For a workbook that may be reused with different fiscal calendars, store the start month in a cell instead of embedding 7 in every formula. For example, put the number 7 in D1. With a date in A2 and the start month in D1, use:

=YEAR(A2)+(MONTH(A2)>=$D$1)

The dollar signs keep the reference to D1 fixed when you fill the formula down. Add a label such as “Fiscal year start month” beside D1 so other users know what the number means. You can use Data Validation to restrict entries to whole numbers from 1 to 12; on Windows, select the cell and choose Data > Data Validation. This helps prevent an accidental entry such as 13, which would give incorrect results.

If the source date might be blank, avoid displaying a fiscal year for an empty row. With the date in A2 and the start month in D1, use:

=IF(A2="","",YEAR(A2)+(MONTH(A2)>=$D$1))

This returns a blank when A2 is empty and calculates the end-year label otherwise. If A2 contains text that looks like a date rather than a valid Excel date, the formula may return an error; convert the source values to real dates first.

Fiscal quarters and fiscal year labels

The fiscal year formula can be paired with a quarter calculation. With the transaction date in A2 and the fiscal start month, 7, in D1, this formula returns a label such as “Q1” or “Q4”:

="Q"&INT(MOD(MONTH(A2)-$D$1,12)/3)+1

For a July start, July through September is Q1, October through December is Q2, January through March is Q3, and April through June is Q4. The formula uses MOD to wrap months across the calendar-year boundary. Combine quarter and fiscal-year labels only after deciding whether your organization labels the fiscal year by its start or end year.

To display a combined label for a July-start, end-year convention, with the date in A2, use:

="FY"&(YEAR(A2)+(MONTH(A2)>=7))&" Q"&INT(MOD(MONTH(A2)-7,12)/3)+1

For July 15, 2025, this returns FY2026 Q1. This is text for reporting, not a date value; use the original date column for chronological sorting and date calculations.

Common errors and date checks

  • Wrong year at the boundary: Test dates immediately before and on the fiscal start date. For a July start, June 30 and July 1 should fall into different fiscal years under an end-year convention.
  • Text instead of a date: A value that looks like 7/1/2025 may be stored as text, especially after importing data. Excel dates are stored as serial numbers. Check the cell’s format and, if needed, convert the imported column to dates before using YEAR and MONTH.
  • Regional date ambiguity: Dates such as 04/05/2025 can mean April 5 or May 4 depending on locale. Confirm the source format rather than assuming the displayed order is universal.
  • Unexpected display: The formula returns a number. If the cell displays a date or an unusual format, change its number format to General or Number using Home > Number Format.
  • Blank rows and invalid dates: Use the blank-check version where appropriate, and check imported values for errors or impossible dates before summarizing results.

For a quick audit, make a small table of known dates around the fiscal-year boundary and compare the returned years with your organization’s calendar. This catches both a wrong start month and a mismatch in naming convention before the formula is copied across a large report.

Frequently Asked Questions

What formula gives the fiscal year from a date in Excel?
For a July start and a fiscal year named for its ending year, with the date in A2, use =YEAR(A2)+(MONTH(A2)>=7). Replace 7 with the number of the actual start month.

How do I calculate a fiscal year that starts in April?
For an April start and end-year naming, with the date in A2, use =YEAR(A2)+(MONTH(A2)>=4). April 2025 through March 2026 is labeled 2026 by this convention.

Why does Excel show the wrong fiscal year?
Check the start month, whether your organization names the period by its start or end year, and whether the source value is a real date. A formula cannot correct an incorrectly interpreted date or an unsuitable naming convention.

Can Excel calculate a fiscal year from any start month?
Yes. Use the start month’s number from 1 to 12 in the comparison. For reusable workbooks, place that number in a cell and reference it in the formula so changing the fiscal calendar requires only one edit.

Does a fiscal year always start in July?
No. July is only an example. Fiscal calendars vary by organization and jurisdiction, and may begin in any month. Check the calendar used for the report you are preparing.

Choosing a formula for your workbook

For a one-off calculation, a fixed-month formula is simple and readable. For recurring reports, use a clearly labeled start-month cell and document whether the year label refers to the period’s beginning or end. Keep the original date in its own column, and use the fiscal-year result as a grouping field in a PivotTable or summary. That separation makes it easier to audit the calculation and adapt the workbook when the fiscal calendar changes.