Explanation

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

The UPPER function changes text values to uppercase, and the EXACT function performs a case-sensitive comparison.

The AND function takes multiple arguments (logical conditions) and returns TRUE only when all arguments return TRUE.

Excel formula: Data validation allow numbers only

If either condition is FALSE, AND returns FALSE and input fails data validation.

Numbers, punctuation, and spaces are not affected.

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 AND function is commonly used with other…

Excel UPPER function

Excel EXACT function

Excel AND function