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

Data Analysis

  • How To Create Pareto Chart in Excel
  • How to conditionally sum numeric data in an Excel table using SUMIFS
  • Calculate Conditional Percentile ‘IF’ in table in Excel
  • Conditional Formatting Data bars Examples in Excel
  • Excel Line Chart

References

  • CHOOSE function: Description, Usage, Syntax, Examples and Explanation
  • Find Closest Match in Excel Using INDEX, MATCH, ABS and MIN functions
  • Get nth match with INDEX / MATCH in Excel
  • How to get first row number in range in Excel
  • How to get first column number in range in Excel

Data Validations

  • Excel Data validation require unique number
  • Excel Data validation exists in list
  • Excel Data validation whole percentage only
  • Excel Data validation date in specific year
  • Excel Data validation allow uppercase only

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:

VLOOKUP with two client rates in Excel

Next Post:

How to Create Gantt Chart in Excel

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

  • How to use IFS function in Excel
  • Check multiple cells are equal in Excel
  • Invoice status with nested if in Excel
  • Return blank if in Excel
  • How to use Excel AND Function

Date Time

  • Get day name from date in Excel
  • TIMEVALUE function: Description, Usage, Syntax, Examples and Explanation
  • Get first Monday before any date in Excel
  • How to calculate months between dates in Excel
  • Add decimal hours to time in Excel

Grouping

  • Map text to numbers in Excel
  • Group arbitrary text values in Excel
  • How to randomly assign people to groups in Excel
  • How to randomly assign data to groups in Excel
  • Group numbers with VLOOKUP in Excel

General

  • Find, Select, Replace and Go To Special in Excel
  • How to choose page/paper size in Excel before Printing
  • Using Existing Templates in Excel
  • Hide and Unhide Columns or Rows in Excel
  • Basic text sort formula in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning