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

Data Analysis

  • How to create running total in an Excel Table
  • Excel Pie Chart
  • Add Outline to Data in Excel
  • Reverse List in Excel
  • How to Create Thermometer Chart in Excel

References

  • Two-way lookup with VLOOKUP in Excel
  • How to use Excel INDIRECT Function
  • To count total rows in a range in Excel
  • Count rows with at least n matching values
  • How to get last column number in range in Excel

Data Validations

  • Excel Data validation don’t exceed total
  • Excel Data validation allow uppercase only
  • Prevent invalid data entering in specific cells
  • Excel Data validation only dates between
  • Excel Data validation must begin with

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.

Worked Example:   Display Date is same month in Excel

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.

Worked Example:   Calculate retirement date in Excel

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:

Get last day of month in Excel

Next Post:

Get fiscal quarter from date in Excel

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

  • How to use Excel OR Function
  • TRUE function: Description, Usage, Syntax, Examples and Explanation
  • OR function Examples in Excel
  • How to use Excel XOR Function
  • Invoice status with nested if in Excel

Date Time

  • Add months to date in Excel
  • DAY function: Description, Usage, Syntax, Examples and Explanation
  • HOUR function: Description, Usage, Syntax, Examples and Explanation
  • NETWORKDAYS function: Description, Usage, Syntax, Examples and Explanation
  • Get work hours between dates in Excel

Grouping

  • How to randomly assign people to groups in Excel
  • Running count group by n size in Excel
  • How to randomly assign data to groups in Excel
  • Group numbers with VLOOKUP in Excel
  • Group arbitrary text values in Excel

General

  • How to get original price from percentage discount in Excel
  • Cell References: Relative, Absolute and Mixed Referencing Examples
  • Customize Ribbon In Excel
  • How to generate random number weighted probability in Excel
  • Subtotal invoices by age in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning