Spreadsheet Practice

UPPER function

UPPER converts every letter in a text string to capitals. Use it to standardize codes that should always be uppercase, such as state abbreviations, SKUs, airport codes and postcodes.

Available in
Every current version
Category
Text functions
Returns
The same text in uppercase. Digits and symbols don't change.
Google Sheets
Works the same in Google Sheets.

Syntax

=UPPER(text)

ArgumentRequired?What it is
textRequiredThe text or cell to convert.

Examples

Each result below is calculated from the sample sheet by our formula engine, the same one that grades the practice.

CellFormulaResultWhat it shows
D2=UPPER(A2)MNA state code in capitals
D3=UPPER(B3)GDT-RED-MDashes and letters together: only the letters change
D4=UPPER(LEFT(C4,FIND(" ",C4)-1))M1The first part of a UK postcode, capitalized

Try it live

This is the sample sheet. Change any number or text, or edit a formula, and the results update.

Show the sample data as a table
StateSKUPostcodeResult
mnwdg-blu-lsw1a 1aaMN
Cagdt-red-mec1v 9hqGDT-RED-M
txgzm-grn-sm1 1aeM1

Practice UPPER

Graded instantly, then re-checked on changed data.

Standardize SKUs

In B2, remove the stray spaces from the SKU in A2 and convert it to uppercase. Fill down to B6.

Common mistakes

What you seeWhy, and how to fix it
Expecting UPPER to fix lookupsExcel lookups ignore case, so uppercase codes aren't needed for VLOOKUP or XLOOKUP to match. Convert for consistency, and use EXACT when case truly matters.
Numbers turn into textUPPER on a number returns it as text, which SUM skips. Apply it only to text columns.

Tips

  • Nest TRIM inside to clean spacing at the same time: =UPPER(TRIM(A2)).

Questions

How do I make all text uppercase in Excel?

Use =UPPER(A2) in a helper column, fill it down, then copy and paste the results as values over the original.

Does UPPER change numbers or symbols?

No. Only letters change. Digits, punctuation and spaces stay as they were.

Last reviewed October 2026. Every example result on this page is calculated live by the Spreadsheet Practice formula engine.