However, Excel offers many other powerful functions that can be used to craft a custom solution.

Key functions

This is a more advanced formula based on several newer functions in Excel.

The abbreviation “dow” stands for “day of week”.

Solution for second Tuesdays of the month in older versions of Excel

This gives us a date range that spans the full number of months.

At this point, we are done with set-up and have everything we need to begin generating dates.

The resulting array of dates is assigned to the variable “dates”.

Solution for second Tuesdays of the month in older versions of Excel

For more details, seeSequence of days.

Inside the LAMBDA function “d” is a variable that represents a single date infdates.

The two expressions are joined by multiplication (*) which createsAND logic using Boolean algebra.

Solution for second Tuesdays of the month in older versions of Excel

It is important to understand that this operation is performed oneach date (d)infdates.

The array is then assigned to the variable “instance”.

This formula is dynamic.

Solution for second Tuesdays of the month in older versions of Excel

If the month is the same, we increment by 1.

If not, we reset the number to 1.

The array can be one dimensional, or two-dimensional, determined byrowsandcolumnsarguments.

Solution for second Tuesdays of the month in older versions of Excel

The output from FILTER is dynamic.

If source data or criteria change, FILTER will return a new set of results.

in a text string with the number format of your choice.

Excel formula: Sequence of days

Excel formula: Semimonthly pay schedule

Excel formula: List workdays between dates

Excel formula: Sequence of weekends

Excel formula: Get first day of month

Excel LET function

Excel SEQUENCE function

Excel FILTER function

Excel EOMONTH function

Excel TEXT function

Excel EDATE function

Article image

Article image

Article image