WEEKDAY returns a number, normally 1-7 for each day of the week.

This formula will be updated on an ongoing basis.

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

Excel formula: If Monday, roll back to Friday

you could use the WEEKDAY function inside other formulas to check the day of week.

Excel formula: Get next day of week

Excel formula: Get last weekday in month

Excel formula: Get first day of month

Excel formula: Get last day of month

Excel WEEKDAY function