Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Calculate Conditional Percentile ‘IF’ in table in Excel
  • How to calculate average last N values in a table in Excel
  • How to Create Area Chart in Excel
  • Randomize/ Shuffle List in Excel
  • How To Filter Data in Excel

References

  • Count unique text values with criteria
  • How to use Excel COLUMN Function
  • How to get last column number in range in Excel
  • How to use Excel ROWS Function
  • MATCH function: Description, Usage, Syntax, Examples and Explanation

Data Validations

  • Excel Data validation allow weekday only
  • How To Create Drop-down List in Excel
  • Excel Data validation must contain specific text
  • Excel Data validation specific characters only
  • Excel Data validation must begin with

Excel Data validation allow uppercase only

by

Using the example below, this tutorial shows how to create Excel Data validation to allow uppercase only.

Formula

=AND(EXACT(A1,UPPER(A1)),ISTEXT(A1))

Excel Data validation allow uppercase onlyExplanation

To allow a user to enter only uppercase TEXT,  you can use data validation with a custom formula based on the UPPER, EXACT, and AND functions.

In the example shown, the data validation applied to C5:C7 is:

=AND(EXACT(C5,UPPER(C5)),ISTEXT(C5))

How this formula works

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:

EXACT(C5,UPPER(C5)

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.

Post navigation

Previous Post:

COSH function: Description, Usage, Syntax, Examples and Explanation

Next Post:

Excel Data validation require unique number

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • Check multiple cells are equal in Excel
  • How to use Excel FALSE Function
  • OR function: Description, Usage, Syntax, Examples and Explanation
  • Excel If, Nested If, And/Or Criteria Examples
  • How to return blank in place of #DIV/0! error in Excel

Date Time

  • Extract time from a date and time in Excel
  • How to calculate nth day of year in Excel
  • Add months to date in Excel
  • Get days between dates in Excel
  • NOW function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • Running count group by n size in Excel
  • Group times into unequal buckets in Excel
  • Categorize text with keywords in Excel
  • Map inputs to arbitrary values in Excel
  • Group arbitrary text values in Excel

General

  • 3D SUMIF for multiple worksheets in Excel
  • How to count total number of cells in a rectangular range in Excel
  • 231 Keyboard Shortcut Keys In Excel
  • How to generate random number between two numbers in Excel
  • Check if multiple cells have same value in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning