Text function

UPPER

Make it all capitals.

Purpose

Force a value into capitals

Returns

The same text, every letter a capital

Syntax

=UPPER(text)

ArgumentRequiredWhat goes here
textRequiredThe cell to put into capitals.

How to use UPPER

UPPER capitalises every letter and leaves digits and punctuation alone.

On a ledger its real use is normalising a code column so two spellings of the same thing stop being two things.

It is not needed for comparisons. Excel already treats "y" and "Y" as equal, so a COUNTIF does not need UPPER around it.

Examples

Every result below is worked out by the same evaluator that marks your answers, on the sheet shown here.

Supplier import — raw.xlsxSheet1
A supplier export before anyone has cleaned it: padded names, a code buried in a reference, and amounts that arrived as text
ABCD
1ReferenceSupplier nameAmountPosted
2GL-6100-8801 brightwell paper 1500Y
3GL-6200-8802calder UTILITIES320y
4GL-6100-8803meridian freight ltd2750
5GL-6300-8804 ashgrove catering184Y
6GL-6200-8805THORNBURY print760
7GL-6100-8806Brightwell Paper1120Y
FormulaResult
=UPPER(B2)The whole supplier name in capitals, padding and all.··BRIGHTWELL PAPER··
=UPPER(TRIM(B2))Trim first. UPPER does nothing about the spaces.BRIGHTWELL PAPER
=UPPER(D3)Normalising a flag column, so the lower case y in row 3 stops looking like a different answer from the Y in row 2.Y

Notes

  • For a name that a person will read, PROPER is almost always what you want instead.