Confident CellsExcel practice Start free

Change case in Excel: UPPER, LOWER and PROPER

Updated 27 November 2026 · 4 min read

Excel has no Change Case button like Word. Instead, put a formula in the next column: =UPPER(A2) for CAPITALS, =LOWER(A2) for lower case, and =PROPER(A2) for a Capital At The Start Of Each Word. For names typed in by hand, =PROPER(TRIM(A2)) fixes the spaces as well. All three work in every version of Excel, on Windows and Mac and in Excel for the web.

The ways at a glance

You wantFormulaGood for
CAPITALS=UPPER(A2)Postcodes, product codes, registration numbers
lower case=LOWER(A2)Email addresses, usernames
Title Case (a capital on each word)=PROPER(A2)Names, towns, job titles
Title case and no extra spaces=PROPER(TRIM(A2))Names typed in by hand or pasted from a form
Sentence case=UPPER(LEFT(A2,1))&LOWER(MID(A2,2,500))Notes and comments typed in capitals
A whole column in one go=PROPER(TRIM(A2:A50))Excel 365, 2021 and 2024: one formula spills down
No formulaFlash Fill: Ctrl+E, or Data › Flash Fill on a MacA quick one-off fix

Each formula goes in a new column next to the text. Once it's right, paste the results back over the original as values (see "Replacing the original column" below).

A worked example

A sign-up form let people type their own details, so the capitals are all over the place.

ABCD
1As typedUPPERLOWERPROPER
2gRACE khanGRACE KHANgrace khanGrace Khan
3sw1a 2aaSW1A 2AAsw1a 2aaSw1A 2Aa
4Tom.Fraser@Example.comTOM.FRASER@EXAMPLE.COMtom.fraser@example.comTom.Fraser@Example.Com
B2 holds =UPPER(A2), C2 =LOWER(A2) and D2 =PROPER(A2), copied down. The highlighted cells are the ones you'd want: PROPER for a name, UPPER for a postcode, LOWER for an email address.

Look at PROPER on the postcode, though: Sw1A 2Aa. PROPER puts a capital after anything that isn't a letter, numbers included. That's why codes need UPPER.

Spaces and capitals together

Typed names often have extra spaces too. Put TRIM inside PROPER, so the spaces are tidied first and then the capitals. For postcodes, put TRIM inside UPPER.

=PROPER(TRIM(A2))
ABCD
1Name as typedTidy namePostcode as typedTidy postcode
2 marek NOWAK Marek Nowak ls6 2qtLS6 2QT
3priya SHAHPriya Shahm1 1ae M1 1AE
4OLLIE morganOllie MorganCf10 1aaCF10 1AA
B2 holds =PROPER(TRIM(A2)) and D2 holds =UPPER(TRIM(C2)), both copied down.

" marek NOWAK " becomes Marek Nowak: TRIM takes off the spaces at each end and turns the three in the middle into one, then PROPER fixes the capitals. There's more on TRIM in removing extra spaces.

If the whole name is in one cell the wrong way round, such as REID, GRACE, split it first and then fix the capitals: splitting first and last names shows how.

Sentence case

There's no function for "only the first letter in capitals". Build it from two parts: the first letter in capitals, joined to the rest in lower case.

=UPPER(LEFT(A2,1))&LOWER(MID(A2,2,500))
AB
1As typedSentence case
2THE ORDER IS LATEThe order is late
3please call backPlease call back
4PAID IN FULLPaid in full
B2 holds =UPPER(LEFT(A2,1))&LOWER(MID(A2,2,500)), copied down.

"THE ORDER IS LATE" becomes The order is late. LEFT takes the first letter (see LEFT, MID and RIGHT), MID takes everything from the 2nd character on (500 is just "plenty"), and & joins them (see joining text). Names in the middle of a sentence end up in lower case too, so check them by eye.

A whole column in one formula (Excel 365)

In Excel for Microsoft 365, Excel 2021 or 2024, point the formula at the whole column once and it spills the answers down by itself. Type it in B2 only, with nothing below it.

=PROPER(TRIM(A2:A5))
AB
1Name as typedTidy name
2 gRACE khanGrace Khan
3TOM CLARKE Tom Clarke
4priya shahPriya Shah
5marek nowakMarek Nowak
B2 holds =PROPER(TRIM(A2:A5)), which spills the four tidy names into B2:B5.

Don't copy a spilling formula down: each copy tries to spill into the cells below it, and you get #SPILL!. In older Excel, use =PROPER(TRIM(A2)) and copy it down instead. There's more on spilling in the #SPILL! error.

Without a formula: Flash Fill

For a quick one-off, type the first name the way you want it in the next column, such as Grace Khan beside gRACE khan. Then press Ctrl+E on Windows, or go to Data › Flash Fill in Excel for Mac. Excel copies the pattern down the column.

Flash Fill gives plain text, not formulas, so it doesn't update if the names change. Check the odd ones afterwards: it guesses from your example, and a guess from one example can go wrong.

Replacing the original column

The tidy names are formulas that point at the messy ones, so you can't just delete the messy column. To keep only the tidy version:

  1. Select the tidy column and copy it (Ctrl+C, or Cmd+C on a Mac).
  2. Click the first cell of the original column, then go to Home › Paste (click the arrow under it) › Paste Values. It's the same on a Mac.
  3. Delete the formula column.

Where PROPER gets names wrong

PROPER follows one rule: a capital at the start of the text and after anything that isn't a letter. It doesn't know any names.

AB
1As typedPROPER
2McDONALDMcdonald
3o'neilO'Neil
4ANNE-MARIEAnne-Marie
5van der bergVan Der Berg
6it's lateIt'S Late
B2 holds =PROPER(A2), copied down. The highlighted ones need a hand fix.

After PROPER, sort the list and look for names like these by eye, then type over the few that need it once you've pasted the values back.

Common mistakes

A circular reference

Typing =PROPER(A2) into A2 itself points the cell at itself. The formula always goes in a different column.

The spaces are still there

UPPER, LOWER and PROPER only change capitals. Put TRIM inside them for extra spaces, and see TRIM for spaces TRIM can't remove.

Capitals don't matter to lookups

VLOOKUP, XLOOKUP, MATCH and COUNTIF treat GRACE and grace as the same, so you don't need to change the case just to make a lookup work. Extra spaces do matter, so TRIM still helps.

Try it now

Your turn

The names in column A were typed by hand. In B2, take out the extra spaces and give each name a capital at the start of each word, such as Grace Khan. Your formula will be copied down to B9.

AB
1Name as typedTidy name
2 gRACE khan
3TOM CLARKE
4priya shah
5marek nowak
6 Nia Evans
7OLLIE morgan
8amira hussain
9ben LEWIS

Open this in Try a formula: the same sheet with the answer filled in, to change or share by link.

Part of Excel data cleaning practice: every lesson on the topic, with a project in Excel.

Questions

How do I change case in Excel?

Use a formula in the next column: =UPPER(A2) for capitals, =LOWER(A2) for lower case, or =PROPER(A2) for a capital at the start of each word. Copy it down, then copy the results and use Home › Paste › Paste Values over the original column, the same on Windows and Mac. Delete the formula column afterwards.

How do I change text to title case in Excel?

PROPER does it: =PROPER(A2) turns "ANNUAL LEAVE REQUEST" into "Annual Leave Request". It puts a capital on every word, small words such as "of" and "the" included, so a strict title style needs a hand fix afterwards. For names typed with extra spaces, use =PROPER(TRIM(A2)).

Is there a shortcut to change case in Excel?

No. Excel has no change case shortcut, and Shift+F3, which changes case in Word, opens Insert Function in Excel. The quickest way without a formula is Flash Fill: type one example the way you want it in the next column, then press Ctrl+E on Windows, or use Data › Flash Fill on a Mac.

Why does PROPER change McDonald to Mcdonald?

PROPER only knows one rule: a capital at the start of each word and after anything that isn't a letter, with the rest in lower case. It has no list of names, so McDonald, MacLeod and DuPont lose their middle capital. Sort the tidied list and fix those by hand. O'Neil and Anne-Marie come out right.