Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to do a t-Test in Excel?
  • How To Create Pareto Chart in Excel
  • How to calculate correlation coefficient Correlation in Excel
  • Example of COUNTIFS with variable table column in Excel
  • Calculate Conditional Percentile ‘IF’ in table in Excel

References

  • How to get relative row numbers in a range in Excel
  • How to get address of first cell in range in Excel
  • Excel Advanced Lookup using Index and Match Functions
  • INDEX function: Description, Usage, Syntax, Examples and Explanation
  • Get nth match with INDEX / MATCH in Excel

Data Validations

  • Excel Data validation no punctuation
  • Excel Data validation require unique number
  • Excel Data validation must not contain
  • Excel Data validation only dates between
  • Excel Data validation don’t exceed total

Get fiscal year from date in Excel

by

To get a fiscal year from a date, you can use a formula based on the YEAR and MONTH functions.

Formula

=YEAR(date)+(MONTH(date)>=startmonth)

Explanation

In the example shown, the formula in D5 is:

=YEAR(B5)+(MONTH(B5)>=C5)

How this formula works

By convention a fiscal year is denoted by the year in which it ends. So, if a fiscal year begins in July, then the date August 1, 2018 is in fiscal year 2019.

The year function first returns the year from the date in B5, 2017. To this result, the following boolean expression is added:

(MONTH(B5)>=C5)

Here, the MONTH function returns the month from the date in B5, 1, and this result is compared to the start month in C5. Since 1 is less than 7, the expression returns FALSE, which evaluates to zero.

Note: with boolean logic, TRUE values are evaluated as 1 and FALSE values are evaluated as zero. Therefore, if the month from the date is greater than or equal to the start month, the expression returns TRUE, or 1. If not, the expression returns FALSE, or zero.

Post navigation

Previous Post:

DECIMAL function: Description, Usage, Syntax, Examples and Explanation

Next Post:

AVERAGE function: Description, Usage, Syntax, Examples and Explanation

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • SWITCH function example in Excel
  • IF with wildcards in Excel
  • TRUE function: Description, Usage, Syntax, Examples and Explanation
  • Complete List of Excel Logical Functions, References and Examples

Date Time

  • DATEVALUE function: Description, Usage, Syntax, Examples and Explanation
  • YEARFRAC function: Description, Usage, Syntax, Examples and Explanation
  • Check If Two Dates are same month in Excel
  • Convert text to date in Excel
  • Get last working day in month in Excel

Grouping

  • Map inputs to arbitrary values in Excel
  • Group times into 3 hour buckets in Excel
  • Group times into unequal buckets in Excel
  • Group arbitrary text values in Excel
  • Calculate conditional mode with criteria in Excel

General

  • How to Delete Cells, Row and Rows in Excel
  • How to generate random times at specific intervals in Excel
  • Freeze and Unfreeze Panes in Excel
  • How to fill cell ranges with random text values in Excel
  • How to make excel worksheets print on one page?
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning