ShareYourGroupShareYourGroupExcel Formulas

Text functions

UPPER, LOWER and PROPER functions in Excel

UPPER changes text to capital letters, LOWER to small letters, and PROPER capitalises the first letter of each word.

Names typed in a hurry arrive in every style: ALL CAPITALS, all small letters, and mixtures of both. These three functions put a column of text into one consistent case. Excel has no Change Case button of the kind Word has, so formulas are the way to do it.

Syntax

=UPPER(text)
=LOWER(text)
=PROPER(text)
ArgumentWhat it is
textThe text to change, or a cell that holds it.

Examples

Each result below is what Excel itself showed for the formula on the sample sheet.

Sample sheet: Text as people really type it: stray spaces, mixed capitals, codes with dashes.
ABCD
1Full nameEmailCodeAmount as text
2  asha   verma asha.verma@example.comPB-10-12341,250
3RAVI KUMARravi@example.orgDL-08-0042300
4meena gillmeena.gill@example.comMH-12-9876 45.50 
5Kabir Khankabir@example.netRJ-14-000712 kg

What each one does

Function"rAVI kumar" becomes
UPPERRAVI KUMAR
LOWERravi kumar
PROPERRavi Kumar

Digits, punctuation and spaces are left as they are. Extra spaces are not removed, so combine with TRIM when cleaning names.

Replacing the original text

Like all formulas, these return their result in another cell. To change the data itself, write the formula in a spare column, copy the results, and use Paste Special, Values over the original column. Then delete the helper column.

Flash Fill is a quick alternative for a one-time job. Type the first name correctly in the next column, press Ctrl and E, and Excel copies the pattern down.

What PROPER gets wrong

PROPER follows a simple rule: a capital after every character that is not a letter, and small letters everywhere else. That rule fails in predictable places.

After using PROPER on a list of names or companies, read through the results. A few SUBSTITUTE calls can repair the regular offenders, such as SUBSTITUTE(PROPER(A2),"'S","'s").

Sentence case

There is no function for "capital at the start of the sentence only". Build it from parts, as the sixth example does: the first character in capitals, joined to the rest in small letters.

Case in comparisons

Excel's ordinary comparisons, and lookups such as VLOOKUP and MATCH, ignore case. "DELHI", "Delhi" and "delhi" all count as equal, so you rarely need to change case just to make a lookup work.

When case does matter, as with passwords or codes where "ab12" and "AB12" differ, use EXACT, which is TRUE only when two texts match letter for letter. To test whether a cell is all capitals, compare it with its own UPPER version, as in the last example.

Where each is useful

Common mistakes

In Google Sheets

UPPER, LOWER and PROPER are the same in Google Sheets.

Related functions

Every result on this page was calculated in Microsoft Excel (version 16.0, build 20326) on 12 November 2026, not typed by hand.

This is an independent help site. It is not connected with or approved by Microsoft. Excel and Microsoft 365 are trademarks of Microsoft Corporation, named here only to say which program a formula is for. The people and figures in the sample sheets are made up.