Explanation

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

The TODAY function returns today’s date (recalculated an on on-going basis).

The AND function takes multiple logical expressions and returns TRUE only when all expressions return TRUE.

Excel formula: Data validation allow numbers only

If both logical expressions return TRUE, the AND function returns TRUE and validation succeeds.

If either expressions returns FALSE, data validation fails.

AND returns TRUEonly if all the conditions are met.

Excel formula: Data validation allow text only

If any conditions are not met, the AND function returns FALSE.

The TODAY function takes no arguments.

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

Excel formula: Count cells between two numbers

If you need current date and time, use…

Excel AND function

Excel TODAY function