Explanation

Data validation rules are triggered when a user adds or changes a cell value.

To get a number for a Monday-based week, thereturn_typeargument for WEEKDAY is provided as 2.

The WEEKDAY result is then compared to 6.

Excel formula: Data validation only dates between

Any value less than 6 is a weekday, so the expression returns TRUE and validation succeeds.

The TODAY function takes no arguments.

you’re able to format the value returned by TODAY with a datenumber format.

Excel formula: Data validation date in next 30 days

If you need current date and time, use…

Excel formula: Data validation date in specific year

Excel formula: Data validation allow numbers only

Excel formula: Data validation allow text only

Excel YEAR function

Excel TODAY function