In the example, B6 is the hard-coded start date and the formula in B7 is:
=DATE(YEAR(B6),MONTH(B6)+1,DAY(B6))
To solve this formula, Excel first extracts the year, month, and day values from the date in B6, then...

Working from the inside out, the YEAR, MONTH, and DAY functions extract those respective date components:
=YEAR(B5) // 1960
=MONTH(B5) // 3
=DAY(B5) // 8
At the outer level, the DATE function simply reassembles the...

This formula builds the final result in 2 parts, joined by concatenation with the ampersand (...

In the example, B6 is the hard-coded start date and the formula in B7 is:
=DATE(YEAR(B6)+1,MONTH(B6),DAY(B6))
To solve this formula, Excel first extracts the year, month, and day values from the date in B6, then...

The YEAR function takes just one argument, the date from which you want to extract the year. In the example, the formula is:
=YEAR(B4)
B4 contains a date value for January 5, 2016. The YEAR function returns the...

Data validation rules are triggered when a user adds or changes a cell value.
This custom validation formula uses the WEEKDAY function to get a numeric value, 1-7, corresponding to to a week beginning Monday (1) and...

In the example, the formula in cell D6 contains this formula:
=MONTH(B6)&YEAR(B6)=MONTH(C6)&YEAR(C6)
In this case, Excel extracts the month from the date in cell B6 as numbers, then concatenates them...

Data validation rules are triggered when a user adds or changes a cell value.
This custom validation formula simply checks the year of any date against a hard-coded year value using the YEAR function.
When a user...

The SEQUENCE function is a dynamic array function that can generate multiple results. Like other dynamic array functions, SEQUENCE outputs an array of results that "spill" onto the worksheet in a "spill range"....

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...

The YEAR function extracts the year from a valid date. In this case, we are giving YEAR and array of dates in the named range "dates", so we get back an array of results:
{2018;2017;2019;2019;2017;2019;2017;2019;2019...

the YEARFRAC function takes two dates, a start date and and an end date, and calculates the time between them in fractional years. In this case, we are using the end date as-is, but generating a start date that equals...

The core of this formula is the DATE function, which will automatically adjust to month and year values that are out of range. In the formula, year is passed into date unchanged, along with 2 for month (February) and...

This formula takes advantage of the fact that dates are just sequential numbers in Excel. It determines the last day of the previous year and subtracts that value from the original date B4. The result is nth day of the...