fxExcelReps
← All functions Aa Text · Beginner

UPPER Convert text to CAPITALS.

How to use UPPER in Excel

UPPER converts all letters to CAPITALS — handy for codes, postcodes and consistent IDs.

Syntax

=UPPER(text)

textThe text or cell.

Examples

=UPPER(A2)"bg-1024" → "BG-1024".
=UPPER(TRIM(A2))Clean and capitalise in one step.

Common mistakes

Comparing text
Excel comparisons ignore case anyway, so UPPER isn't needed just to compare. Use EXACT for case-sensitive checks.

Available in: All versions of Excel, Excel for the web, Google Sheets

Related functions

LOWERPROPERTRIM

↑ Practise UPPER in the sheet above