Change Case in Excel: UPPER, LOWER and PROPER
By ExcelReady TeamUpdated 5 min read
The short answer
Excel has no Change Case button, so you use a formula in a helper column: =UPPER(A2) for capitals, =LOWER(A2) for small letters, and =PROPER(A2) to capitalise each word. Then copy the results and paste them back as values to replace the original text. Flash Fill is a quick alternative for simple lists.
Key takeaways
- UPPER makes all capitals, LOWER makes all small letters, and PROPER capitalises the first letter of each word.
- Excel has no Change Case button like Word, so you change case with a formula in a helper column.
- Paste the results back as values to replace the original text, then delete the helper column.
- PROPER capitalises after any non-letter, so names like McDonald and words like it's need a manual check.
- Normal comparisons ignore case; use EXACT when capitals matter.
On this page+
To change case in Excel, you use one of three functions: UPPER for all capitals, LOWER for all small letters, and PROPER for a capital at the start of each word. Excel has no Change Case button like Word, so you write the formula in a helper column and then paste the results over the original. This guide covers all three, sentence case, Flash Fill, and the PROPER mistakes to watch for.
The three case functions#
Each function takes one argument, the text or cell to change, and returns a new version of the text:
| Function | What it does | "jANE o'neil" becomes |
|---|---|---|
=UPPER(A2) | All capital letters | JANE O'NEIL |
=LOWER(A2) | All small letters | jane o'neil |
=PROPER(A2) | First letter of each word capital, the rest small | Jane O'Neil |
These functions only change letters. Numbers, spaces and punctuation stay as they are. All three work in every version of Excel, on Windows and Mac.
Messy capitals usually come with other problems, such as extra spaces or stray characters. The guide to cleaning messy data in Excel shows how to fix them all together.
How to change case with a helper column#
Because the formula can't sit in the same cell as the text it changes, you work in a spare column and then replace the original. Say you have a list of names in A2:A6:
- Click B2 and type
=PROPER(A2). Press Enter. - Copy the formula down to B6. Double-click the fill handle, or select B2:B6 and press Ctrl+D (Mac: ⌘D).
- With B2:B6 still selected, copy (Windows: Ctrl+C; Mac: ⌘C).
- Select A2, then paste as values: right-click and choose Paste Special > Values (Windows: Ctrl+Alt+V, then V; Mac: ⌃⌘V, then choose Values).
- Delete column B.
If you clean the same file every week, Power Query can do this too. Select the data, choose Data > From Table/Range, then right-click the column and pick Transform > lowercase, UPPERCASE or Capitalize Each Word. Click Close & Load, and next time just refresh.
Step 4 is the key. A normal paste would copy the formulas, which would point at themselves and break. Paste as values keeps only the finished text.
How to make sentence case#
Sentence case means only the first letter of the cell is a capital, like "Order shipped today". Excel has no SENTENCE function, but you can build it from four pieces:
=UPPER(LEFT(A2,1))&LOWER(MID(A2,2,LEN(A2)))Here is what each part does with "oRDER SHIPPED today" in A2:
| Part | Returns |
|---|---|
LEFT(A2,1) | o |
UPPER(...) | O |
MID(A2,2,LEN(A2)) | RDER SHIPPED today |
LOWER(...) | rder shipped today |
Joined with & | Order shipped today |
MID starts at the second character, and LEN(A2) is simply a number big enough to take the rest of the text.
PROPER mistakes to check for#
PROPER capitalises any letter that follows a non-letter, such as a space, an apostrophe, a hyphen or a number. That works for most names, but not all:
| Original | PROPER result | What you probably wanted |
|---|---|---|
| mcdonald | Mcdonald | McDonald |
| it's ready | It'S Ready | It's ready |
| 3rd floor | 3Rd Floor | 3rd Floor |
| mary-jane | Mary-Jane | Mary-Jane |
| ACME LTD | Acme Ltd | ACME Ltd |
So after using PROPER on names or addresses, scan the results for apostrophes and numbers. You can fix common cases with SUBSTITUTE, for example =SUBSTITUTE(PROPER(A2),"'S ","'s ") to turn "It'S" back into "It's" mid-sentence. The guide to SUBSTITUTE and REPLACE shows more ways to fix specific text.
How to change case with Flash Fill#
Flash Fill copies a pattern you type by hand, so it can change case without a formula. Next to your list:
- In B2, type the first name the way you want it, such as
Jane Doe. - Start typing the second one in B3. Excel shows a grey preview of the rest.
- Press Enter to accept, or use Data > Flash Fill (Windows: Ctrl+E).
Flash Fill is quick for one-off lists, but the results don't update if the original changes, and it can guess the pattern wrong on unusual entries. Check a few rows before you rely on it.
Does case matter in Excel formulas?#
For most formulas, no. An equals comparison, VLOOKUP, XLOOKUP, MATCH, COUNTIF and SUMIF all ignore case, so "apple", "Apple" and "APPLE" count as the same value. That means you often don't need to change case just to make a lookup work.
When case does matter, such as for passwords or product codes where "ab12" and "AB12" are different items, use EXACT. It compares two values letter for letter:
=EXACT(A3,UPPER(A3))This returns TRUE if A3 is already in capitals and FALSE if it isn't, which is a quick way to find the codes that need fixing. The guide to EXACT and case-sensitive matching covers this in more detail. FIND is also case-sensitive, while SEARCH is not.
When to use each case#
A few simple rules keep data consistent:
- UPPER for codes and IDs: product codes, postcodes, country codes.
- PROPER for names, cities and job titles, followed by a quick check.
- LOWER for email addresses and web addresses, which are easier to compare in small letters.
- Sentence case for descriptions and notes.
Cleaning a column of names is a common first step in a case study interview task, so it's worth being quick at it.
Practise it#
Case functions are short, but the full clean-up routine (formula, fill down, paste values, check) is what tests and real jobs ask for. Practise cleaning text in a live spreadsheet: you type the formulas, including TRIM, PROPER and SUBSTITUTE, and it checks each result instantly. Or try the EXACT exercise on this page first.
Try it yourself
This is a live spreadsheet. Type the formula in the green cell and press Enter.
Product codes must be in capitals. Is the code in A3 already all capitals? In B3, use EXACT to compare A3 with UPPER(A3). TRUE means it's fine; FALSE means it needs fixing.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | All caps? | |||
| 2 | SKU-1040 | |||
| 3 | sku-2215 | |||
| 4 | Sku-3302 | |||
| 5 | SKU-4471 | |||
| 6 | sKU-5108 | |||
| 7 | ||||
| 8 | ||||
| 9 |
Tip: UPPER(A3) is what the code should look like. EXACT returns TRUE only if A3 matches it letter for letter, including case.
Practise this in a lesson
Frequently asked questions
Is there a shortcut to change case in Excel?
No. Unlike Word, Excel has no Change Case button or shortcut. Use UPPER, LOWER or PROPER in a helper column, or type one example and use Flash Fill.
How do I capitalise the first letter of each word in Excel?
Use =PROPER(A2). It turns "jane doe" into "Jane Doe". Check the results for names like McDonald, which PROPER changes to Mcdonald.
How do I make only the first letter of a cell a capital?
Use =UPPER(LEFT(A2,1))&LOWER(MID(A2,2,LEN(A2))). It capitalises the first letter and makes the rest lower case, which is sentence case.
How do I replace the original text with the new case?
Copy the formula results, then right-click the original cells and choose Paste Special, Values. Then delete the helper column.
Does changing case affect lookups and COUNTIF?
No. VLOOKUP, XLOOKUP, MATCH and COUNTIF ignore case, so Apple and APPLE match. Only functions like EXACT and FIND are case-sensitive.