Text function

UPPER function

Converts all letters in a text string to capitals. Digits and punctuation are unchanged.

Available in All versions of Excel, including Microsoft 365, Excel for Mac and Excel for the web

In every Excel versionWorks in Google Sheets

Syntax

UPPER(text)
ArgumentWhat it means
textRequiredThe text or cell to convert.

Returns: The text in uppercase.

How UPPER works

UPPER changes every lowercase letter to its capital form and leaves digits, spaces and symbols alone. Use it to standardise codes that must always be in capitals - product SKUs, postcodes, country codes, licence plates, IBANs - so that data typed in any case looks consistent and matches in reports.

It handles accented and non-Latin letters (é becomes É, Greek αθήνα becomes ΑΘΉΝΑ). Its siblings are LOWER and PROPER. Remember that ordinary comparisons (=), VLOOKUP and COUNTIF already ignore case; UPPER matters for display, for exports to case-sensitive systems, and together with EXACT when you need to check that something has been typed in capitals.

Examples

1Standardise product codes

B2fx=UPPER(A2)
AB
1SKU (typed)
2nyc-1042NYC-1042

Result: NYC-1042

Letters become capitals; the hyphen and digits are unchanged.

2UK postcode

B2fx=UPPER(A2)
AB
1Postcode
2nw1 6xeNW1 6XE

Result: NW1 6XE

Postcodes are conventionally written in capitals.

3Initials from first and last name

C2fx=UPPER(LEFT(A2)&LEFT(B2))
ABC
1FirstLast
2marialopezML

Result: ML

LEFT takes the first letter of each name, and UPPER capitalises both.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 15 KB

Tips

  • Force capitals during data entry with Data Validation > Custom: =EXACT(A2,UPPER(A2)).
  • A font with only capitals (like some display fonts) changes the look but not the stored text; use UPPER when the data itself must change.

Questions

How do I convert a whole column to capitals?

Put =UPPER(A2) in a helper column, fill down, then copy and Paste Values over the original. In Microsoft 365 =UPPER(A2:A500) spills the whole column at once.

Is there a shortcut key to change case in Excel?

No, unlike Word Excel has no Shift+F3. Use UPPER, LOWER or PROPER, or Flash Fill (Ctrl+E).

Google Sheets

UPPER also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.

UPPER in other languages

In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.

LanguageFunction name
CzechVELKÁ
DanishSTORE.BOGSTAVER
DutchHOOFDLETTERS
FinnishISOT
FrenchMAJUSCULE
GermanGROSS
HungarianNAGYBETŰS
ItalianMAIUSC
Norwegian (Bokmål)STORE
PolishLITERY.WIELKIE
Portuguese (Brazil)MAIÚSCULA
Portuguese (Portugal)MAIÚSCULAS
RussianПРОПИСН
SpanishMAYUSC
SwedishVERSALER
TurkishBÜYÜKHARF

Recipes that use UPPER