Excel Formula for End of Financial Year Calculation
In this article
To calculate the end of the financial year in Excel, you need to determine the last date of your organization's financial year—commonly June 30 or September 30—based on a given date. This is achieved by shifting the calendar year so that the financial year ends on your chosen month and day, then using a formula to return the correct year-end date. No add-ins or special tools are required—just core Excel functions like EOMONTH, DATE, and IF. First, confirm your financial year-end date (e.g., June 30) and ensure your input dates are valid Excel dates (not text).
What You'll Need
- A list of reference dates (e.g., transaction dates or report dates) in a column
- Knowledge of your organization's financial year-end date (e.g., FY ends on June 30 in Australia, September 30 in some US entities)
- Excel with standard functions (EOMONTH, DATE, YEAR, MONTH, DAY); works in Excel 2010 and later
Step-by-Step
- Identify your financial year-end date. For this guide, we’ll assume the financial year ends on June 30 (common in Australia). If yours ends on a different date (e.g., September 30), replace all instances of month 6 and day 30 accordingly.
- Enter your reference date in cell A2 (e.g., 15-Mar-2024). Ensure the cell is formatted as a date (right-click > Format Cells > Date).
- Use the core financial year-end formula in cell B2:
=DATE(YEAR(A2) + IF(MONTH(A2) > 6, 1, 0), 6, 30)
This works by: checking if the month is after June (month 6); if yes, add 1 to the year (so FY 2024 ends on 30-Jun-2025); if no, keep the current year (so 15-Mar-2024 falls in FY ending 30-Jun-2024). - Copy the formula down to apply it to all dates in your list. Select B2, then double-click the fill handle (small square in the bottom-right corner of the cell) to auto-fill the range.
- Verify with a test case. For A2 = 1-Jul-2024 (first day of new FY), B2 should return 30-Jun-2025. For A2 = 30-Jun-2024 (last day of FY), B2 should return 30-Jun-2024.
- Format results clearly. Select the result column (B), press Ctrl+1, choose Date, and pick a format like "30-Jun-2024" to avoid ambiguity.
- Handle edge cases. If your financial year ends on a weekday (e.g., last Friday of June), use:
=WORKDAY.INTL(DATE(YEAR(A2) + IF(MONTH(A2) > 6, 1, 0), 7, 1), -1, 1)
This finds the last weekday before July 1. Adjust the weekend code (1 = Saturday/Sunday off) if needed.
Common Mistakes
- Using text instead of dates: If A2 shows as "15-Mar-2024" but is left-aligned, Excel treats it as text—causing #VALUE! errors. Convert by selecting the range > Data > Text to Columns > Finish.
- Incorrect month reference: Assuming June is month 7 (it’s month 6). Use MONTH(A2) > 6 for June year-end.
- Hardcoding the year: Using =DATE(2024,6,30) ignores the input date. Always derive the year from the input cell.
- Time component ignored: If your dates include time (e.g., 15-Mar-2024 14:30), the result may show as 30-Jun-2024 00:00. Wrap with INT() if you need date-only results: =INT(DATE(...)).
- Assuming all FYs end June 30: Some regions use September 30 (e.g., US federal). For that, replace "6" with "9" and "30" stays correct unless your FY ends on a different day (e.g., last Friday of September).
Tips
- Named ranges help: Name your input column "RefDate" and use =DATE(YEAR(RefDate) + IF(MONTH(RefDate) > 6, 1, 0), 6, 30) for readability.
- Create a reusable template: Store your financial year-end date (e.g., 6/30) in a named cell like "FYEndMonth" and "FYEndDay", then reference them: =DATE(YEAR(A2) + IF(MONTH(A2) > FYEndMonth, 1, 0), FYEndMonth, FYEndDay).
- Group by FY in reports: Add a column with =TEXT(B2,"yyyy") to extract the FY year (e.g., "2025" for FY ending 30-Jun-2025), then use it in PivotTables.
- Check leap years: The formula handles them automatically—no extra steps needed.
- Use conditional formatting: Highlight dates where the FY end is in the past: =B2
Troubleshooting
If your formula returns an error or wrong date:
- #VALUE! error: Check if the input cell is a real date. Use =ISNUMBER(A2)—it should return TRUE. If FALSE, convert text to dates via Data > Text to Columns.
- Wrong year (e.g., 30-Jun-2023 for 15-Jan-2024): Verify your month threshold. For June year-end, ensure the formula uses > 6 (not >= 6). If your FY runs July–June, dates in July and later belong to the next FY, so month > 6 is correct.
- Blank results: Ensure no extra spaces in the formula. Delete and retype it manually to avoid hidden characters.
- Formula shows as text: If B2 displays the formula itself (e.g., =DATE(...)), right-click > Format Cells > Number > General, then re-enter the formula.
- Time zone or regional mismatch: In Excel, go to File > Options > Advanced > When calculating this workbook, ensure "Use 1904 date system" is unchecked unless required. Also, confirm your system’s date format matches Excel’s expectations (e.g., MM/DD vs DD/MM).
Frequently Asked Questions
What if my financial year ends on a different date, like September 30?
Replace all "6" with "9" in the formula: =DATE(YEAR(A2) + IF(MONTH(A2) > 9, 1, 0), 9, 30). For example, 15-Aug-2024 falls in FY ending 30-Sep-2024; 15-Oct-2024 falls in FY ending 30-Sep-2025.
How do I calculate the start of the financial year?
Subtract one day from the end date: =DATE(YEAR(A2) + IF(MONTH(A2) > 6, 1, 0), 6, 30) - 365 + IF(MONTH(A2) > 6, 0, 1) is error-prone. Instead, use: =DATE(YEAR(A2) + IF(MONTH(A2) > 6, 1, 0) - 1, 7, 1). For 15-Mar-2024, this gives 1-Jul-2023.
Can I return just the FY year (e.g., "2025" instead of a date)?
Yes. Use: =YEAR(DATE(YEAR(A2) + IF(MONTH(A2) > 6, 1, 0), 6, 30)). For 15-Mar-2024, this returns 2024. For 15-Jul-2024, it returns 2025.
Does this work for fiscal years with non-standard months (e.g., ending on the last Friday of June)?
Yes, but you need WORKDAY.INTL or EOMONTH variants. Example: =EOMONTH(DATE(YEAR(A2) + IF(MONTH(A2) > 6, 1, 0), 6, 1), 0) - WEEKDAY(EOMONTH(DATE(YEAR(A2) + IF(MONTH(A2) > 6, 1, 0), 6, 1), 0), 2) + 5. This finds the last Friday of June. Adjust weekend codes and offsets carefully.
How do I handle multiple financial years in one report (e.g., comparing FY24 vs FY25)?
Create a helper column for FY period: =TEXT(YEAR(DATE(YEAR(A2) + IF(MONTH(A2) > 6, 1, 0), 6, 30)), "00") & "/" & TEXT(YEAR(DATE(YEAR(A2) + IF(MONTH(A2) > 6, 1, 0), 6, 30)) + 1, "00"). For 15-Mar-2024, this gives "2024/2025".
What if my data includes future dates beyond today?
The formula works regardless of date age—it’s date-agnostic. Future dates (e.g., 15-Dec-2030) will correctly return 30-Jun-2031. No special handling is needed.