This article describes two different ways of solving this problem.

The second method is based on the WEEKDAY function.

This is the “traditional approach”, although I find it harder to understand.

WEEKDAY option for getting the next specified day of week

Both approaches are explained below, and both work equally well.

The text string “ddd” is acustom number formatfor a 3-letter abbreviation for weekday names.

There is no need to know the numeric values for each day, as with the WEEKDAY formula below.

WEEKDAY option for getting the next specified day of week

WEEKDAY option

Another more traditional way to solve this problem is with theWEEKDAY function.

The WEEKDAY function takes a date and returns a number between 1-7 representing the day of the week.

This formula is more difficult to understand than the first formula.

WEEKDAY option for getting the next specified day of week

The third argument in WORKDAY.INTL isweekend, which specifies which days of the week should be treated as weekends.

MATCH supports approximate and exact matching, andwildcards(* ?)

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

WEEKDAY option for getting the next specified day of week

By default, WEEKDAY returns 1 for Sunday and 7 for Saturday, but this is configurable.

WEEKDAY option for getting the next specified day of week

Excel formula: Get Monday of the week

Excel formula: If Monday, roll back to Friday

Excel formula: Get most recent day of week

Excel MATCH function

Excel TEXT function

Excel WEEKDAY function

WEEKDAY option for getting the next specified day of week