ZetCode

Excel UPPER, LOWER, and PROPER Functions

last modified April 4, 2025

The UPPER, LOWER, and PROPER functions are essential text manipulation tools in Excel. They transform text case to all uppercase, all lowercase, or proper case (first letter capitalized). This tutorial provides a comprehensive guide to using these functions with detailed examples. You'll learn basic syntax, practical applications, and combinations with other functions.

Function Basics

These text functions change the case of letters in strings. They each take one text argument and return the modified string. They don't affect numbers or special characters in the text.

Function Description Syntax
UPPER Converts text to all uppercase =UPPER(text)
LOWER Converts text to all lowercase =LOWER(text)
PROPER Capitalizes first letter of each word =PROPER(text)

This table summarizes the three text case functions. All take a single text argument and return the modified string. They're useful for standardizing text data from various sources.

Basic UPPER Function Example

This example demonstrates the simplest use of the UPPER function to convert text to uppercase.

Basic UPPER formula
=UPPER("excel functions")

This formula converts the text "excel functions" to all uppercase letters. The result will be "EXCEL FUNCTIONS". The function works with both direct text input and cell references.

Basic LOWER Function Example

This example shows how to use the LOWER function to convert text to lowercase.

A B
EXCEL FUNCTIONS =LOWER(A1)

The table shows text in uppercase in cell A1 and the LOWER function in B1 that converts it to lowercase. The result will be "excel functions".

LOWER with cell reference
=LOWER(A1)

This formula converts the text in cell A1 to all lowercase letters. When A1 contains "EXCEL FUNCTIONS", the result is "excel functions". LOWER is useful for standardizing inconsistent text data.

Basic PROPER Function Example

This example demonstrates the PROPER function which capitalizes the first letter of each word.

PROPER with direct text
=PROPER("john smith")

This formula converts "john smith" to proper case, resulting in "John Smith". PROPER is ideal for formatting names, titles, or other proper nouns in your data.

Combining with Other Functions

These text functions can be combined with others like TRIM to clean and standardize text data. This example shows a common combination.

A B
" excel FUNCTIONS " =PROPER(TRIM(A1))

The table demonstrates combining PROPER with TRIM to first remove extra spaces then capitalize properly. The result converts " excel FUNCTIONS " to "Excel Functions".

Combining PROPER and TRIM
=PROPER(TRIM(A1))

This formula first removes leading/trailing spaces with TRIM, then applies PROPER case. The nested functions process the text in sequence from inner to outer. This is a powerful text cleaning technique.

Handling Mixed Case Names

This example shows how to standardize inconsistently formatted names using PROPER function.

A B
jANE dOE =PROPER(A1)
mARY SMITH =PROPER(A2)
pETER jONES =PROPER(A3)

The table contains names with inconsistent capitalization. The PROPER formulas in column B convert them all to standard "Firstname Lastname" format. "jANE dOE" becomes "Jane Doe", etc.

Standardizing names with PROPER
=PROPER(A1)

This formula converts the mixed-case name in A1 to proper capitalization. PROPER is especially useful for preparing mailing lists or customer databases where name formatting needs to be consistent.

Converting Text for Case-Sensitive Systems

Some systems require all-uppercase or all-lowercase input. This example shows how to prepare data for such systems.

Preparing text for case-sensitive systems
=UPPER("User123@example.com")

This formula converts an email address to uppercase, resulting in "USER123@EXAMPLE.COM". Some legacy systems require uppercase credentials. Note that email systems are typically case-insensitive in the address part.

Creating Email Addresses from Names

This example demonstrates creating standardized email addresses from names using LOWER and concatenation.

A B C
John Smith =LOWER(A1&"."&B1&"@company.com")

The table shows first and last names in columns A and B. The formula in C1 creates a lowercase email address by concatenating parts. "John Smith" becomes "john.smith@company.com".

Email generation formula
=LOWER(A1&"."&B1&"@company.com")

This formula combines first name, period, last name, and domain, then converts all to lowercase. The LOWER function ensures the email address follows standard formatting conventions.

Formatting Product Codes

This example shows using UPPER to standardize product codes that may be entered in inconsistent case.

A B
abc123 =UPPER(A1)
AbC456 =UPPER(A2)
XYZ789 =UPPER(A3)

The table contains product codes in various cases. The UPPER formulas in column B convert them all to uppercase. "abc123" becomes "ABC123", maintaining the numbers while standardizing letters.

Standardizing product codes
=UPPER(A1)

This formula ensures product codes are uniformly uppercase, which is important for inventory systems where "ABC123" and "abc123" might be treated as different items without case standardization.

Limitations and Considerations

While these functions are powerful, they have some limitations to be aware of when working with text data in Excel.

Function Limitation
PROPER Capitalizes letters after apostrophes (O'Reilly becomes O'Reilly)
All Don't affect numbers or special characters
All Return #VALUE! error if reference is invalid

This table outlines key limitations. PROPER may over-capitalize in some cases, and none of these functions affect non-letter characters. They all require valid text input.

Conclusion

The UPPER, LOWER, and PROPER functions are essential tools for text manipulation in Excel. They help standardize and clean text data from various sources. UPPER converts text to all caps, LOWER to all lowercase, and PROPER to title case. Mastering these functions will improve your data cleaning and preparation workflows significantly.

Author

My name is Jan Bodnar, and I am a passionate programmer with extensive programming experience. I have been writing programming articles since 2007. To date, I have authored over 1,400 articles and 8 e-books. I possess more than ten years of experience in teaching programming.

List all Excel Formulas.