# Data validation allow uppercase only

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.

The first logical condition compares the value input by the user to an uppercase version of the same value:

The second logical condition tests that input to C5 is actually text

ISTEXT(C5)

If both conditions are TRUE, the AND function returns TRUE and input passes validation. If either condition is FALSE, AND returns FALSE and input fails data validation.

*Note: Cell references in data validation formulas are relative to the upper left cell in the range selected when the validation rule is defined, in this case C5.*

## Excel Formula Training

Formulas are the key to getting things done in Excel. In this accelerated training, you'll learn how to use formulas to manipulate text, work with dates and times, lookup values with VLOOKUP and INDEX & MATCH, count and sum with criteria, dynamically rank values, and create dynamic ranges. You'll also learn how to troubleshoot, trace errors, and fix problems. Instant access. See details here.

## Download 200+ Excel Shortcuts

Get over 200 Excel shortcuts for Windows and Mac in one handy PDF.