UPPER function
UPPER converts all letters in text to uppercase and returns the result. It is useful for standardizing codes before lookups, and characters that are not letters are left alone.
Example
Read it as a sentence: change the text in F1 to capital letters, which gives an empty result because F1 is blank.
Excel shows
F
1
Data
Syntax
UPPER(text)
-
text(required) - The text to convert.
Returns: The text in uppercase.
What Excel actually returns
Each formula below was run in desktop Excel. The result is exactly what the cell showed, errors included.
| Formula | Excel shows | Case |
|---|---|---|
=UPPER("ExCeL") | EXCEL | Mixed |
=UPPER("straße") | STRAßE | German sharp s |
=UPPER(1.5) | 1.5 | Number |
=UPPER(FALSE) | FALSE | Bool |
=UPPER(Data!F1) | Blank |
The Data sheet these formulas read
A cell that starts with = holds that formula.
F
1
Data
Watch out for
- Non-letters are untouched.
Where it works
- Excel
- UPPER is in every version of Excel from 2007 on.
- Google Sheets
- Same name, same behaviour for everyday use.
Part of Text functions. Every result on this page was measured in desktop Excel, build 16.0.20527. Last updated .