
Use the EXACT function to allow only
uppercase characters
This example shows how to allow only uppercase characters in a
specified range. Use the data validation option in combination with
a custom formula.
4
To allow only uppercase characters:
1. Select cells A1:A100.
2. On the Data menu, click Validation.
3. In the Settings tab, select Custom from the Allow
drop-down box.
4. In the Formula box, type the formula
=EXACT(A1,UPPER(A1)).
5. Select the Error Alert tab.
6. Enter a custom error message.
7. Click OK.
Note: If you want to allow only lowercase characters, use
the formula =EXACT(A1,LOWER(A1)).
Special Solutions with Formulas
307
12
Figure 12-2