UPPER Function in Excel: Convert Text to Capitals

UPPER Function in Excel: Convert Text to Capitals featured illustration

πŸ“Ž This article includes 1 downloadable practice file ↓

⏱ 2 min readUpdated 12 October 2026

TextLevel: BeginnerAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Example 2
  5. UPPER in practice
  6. Where you will use it
  7. Worked example
  8. Mistakes people make
  9. Related functions
  10. Continue learning

UPPER makes text all capitals; LOWER makes it all small letters. Useful for codes, PAN and GSTIN that must be uppercase.

Advertisement

Syntax

=UPPER(text)
Argument What it means
text Text to convert.

Examples

Example 1

=UPPER(TRIM(A2))

Clean PAN: β€œ abcde1234f ” β†’ ABCDE1234F.

Example 2

=LOWER(A2)

Email addresses in lowercase before de-duplicating.

UPPER in practice

Where you will use it

  • Standardise codes, PAN and GSTIN
  • Make lookups consistent
  • Headings

Worked example

TextFormulaResult
abcde1234f=UPPER(A2)ABCDE1234F
inv-2026-0145=UPPER(A3)INV-2026-0145
north=UPPER(A4)NORTH

Results calculated in Excel.

Mistakes people make

MistakeWhat to do instead
Expecting it to remove spacesCombine with TRIM
Changing names to all capsUse PROPER for names

LOWER Β· PROPER Β· EXACT

πŸ“š Part of the free Excel course: Beginner β†’ Expert Β· Try it in the Formula Lab or ask the AI Helper.

⚑ Interactive Practice Lab & Formula Tester:

Test formulas dynamically in our web formula laboratory or download the companion Excel workbook.

πŸ“Ž Practice files for this article

  • πŸ“—
    Practice workbook: Text & cleaning24 tasks on realistic sales data β€” type your formula, the Check column turns green when it is right. Answers sheet included.
    ⬇ XLSX Β· 35 KB

Free to use for learning. Files with macros (.bas) are plain text β€” import them with Alt+F11 β†’ File β†’ Import File, and always test on a copy.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free Β· AI can be wrong