
The Excel UPPER function converts every letter in a text string to uppercase. Numbers, spaces, and punctuation stay the same. For example, =UPPER("mtl-001") returns "MTL-001".
UPPER is useful when a worksheet needs one consistent uppercase style. It is often used for codes, identifiers, abbreviations, and headings.
Returns the same text with all alphabetic letters changed to uppercase.
Returns the converted text as a new value.
=UPPER(text)
text is the string or cell reference you want to convert to uppercase.
UPPER, LOWER, and PROPER all change letter case, but each one produces a different style. Use the one that matches the final format you want.
| Function | Result | Use When |
|---|---|---|
UPPER |
ALL CAPS | You want everything uppercase |
LOWER |
all lowercase | You want everything lowercase |
PROPER |
Title Case | You want the first letter of each word capitalized |
TRIM |
Cleaned spacing | You also need to remove extra spaces |
UPPER is often used to standardize codes and abbreviations. If the same code appears in lowercase in one place and uppercase in another, converting the column to a consistent case can make exports and comparisons easier.
UPPER is also useful for headings and labels. Because it changes only letters, it leaves digits and separators alone, which makes it practical for codes such as "mtl-001".
This is the direct use of UPPER. Every letter becomes uppercase, while other characters remain the same.
=UPPER("excel") // "EXCEL"
=UPPER("Hello World") // "HELLO WORLD"
=UPPER("mtl-001-a") // "MTL-001-A"
In cell F1, use UPPER to convert "excel" to uppercase. Expected result: "EXCEL".
UPPER works well with short codes such as state or country abbreviations. It can standardize the column quickly before export or review.
=UPPER(B2)
// "ca" -> "CA"
In cell F2, use UPPER on B2 ("ca") to get the correctly formatted state abbreviation "CA".
When a product code should always be uppercase, UPPER can normalize it while leaving the digits and separators unchanged.
=UPPER(A1)
// "mtl-001" -> "MTL-001"
=UPPER(TRIM(A1))
In cell F3, use UPPER on A1 ("mtl-001") to convert the part code to uppercase format.
UPPER can also be used for display. A mixed-case heading can be turned into a consistent all-caps label with one formula.
=UPPER(C1)
// "Mixed case Header" -> "MIXED CASE HEADER"
In cell F4, use UPPER on C1 ("Mixed case Header") to produce a full uppercase label.
UPPER is often a better choice than PROPER when the text contains abbreviations. PROPER would turn "NY" into "Ny", but UPPER keeps the abbreviation fully capitalized.
UPPER converts letters to uppercase.=UPPER(text).Tell your friends about this post