To capitalize the first letter of every word, use =PROPER(A2) — “john smith” becomes “John Smith”. To capitalize only the first letter of the cell and lowercase everything else, use =UPPER(LEFT(A2,1))&LOWER(RIGHT(A2,LEN(A2)-1)).
And to capitalize the first letter while leaving the rest of the text exactly as it is, drop the LOWER: =UPPER(LEFT(A2,1))&RIGHT(A2,LEN(A2)-1) — that’s the one to use when the text contains acronyms or proper nouns you don’t want flattened. Two things to watch.
PROPER capitalizes after any non-letter, so “don’t” becomes “Don’T” and “o’brien” becomes “O’Brien” — usually right for the second, wrong for the first. And an empty cell returns #VALUE! with the two manual formulas, because LEN(A2)-1 goes negative; wrap them in =IFERROR(...,"") if blanks are possible.
For a one-off fix with no formula, type the corrected version next to your first entry and press Ctrl+E for Flash Fill.
Let’s say you have a list of text values, and you want to capitalize the first letter of each text. This can be easily done using a simple formula. And in this tutorial, we will learn to write this formula to capitalize the first letter of a word.
PROPER Function to Capitalize First Letter
In the following example, you have a list of names, and all these names are in lowercase letters. Now you need to convert the first letter into a capital letter.

Use the following steps to capitalize the first letter.
- Type equal in cell B2.
- Enter the PROPER function and type the opening parenthesis.
- Refer to cell A2, where you have the text for which you want to capitalize the first letter.
- In the end, enter the closing parenthesis and hit Enter to get the result.
=PROPER(A2)
PROPER capitalizes the first letter of every word and converts all the other letters to lowercase, so “john SMITH” becomes “John Smith”. But it treats any character that isn’t a letter as the start of a new word, so “it’s” becomes “It’S” and “2nd” becomes “2Nd”. Check names and text with apostrophes or numbers after using it.

Only Capitalize the First Letter of the First Word
Now let’s take another situation where you need to capitalize only the first letter of the first word and not the rest of the words. You can use the following formula for that.
=UPPER(LEFT(A2,1))&LOWER(RIGHT(A2,LEN(A2)-1))

To understand this formula, we need to break it into two parts.
The first part of the formula uses the UPPER and LEFT functions, which extract the first letter from the text and convert it into a capital letter.

And the second part of the formula uses the RIGHT, LOWER, and LEN functions. LEN counts the characters, RIGHT takes all the characters except the first one, and LOWER converts that part into lowercase text.

But if you want to capitalize the first letter and leave the rest of the text as it was, you can amend the above formula. See the following.
=UPPER(LEFT(A2,1))&RIGHT(A2,LEN(A2)-1)
This formula will not make any changes to the text other than the first letter of the first word.
Avoid the #VALUE! Error with Blank Cells
The UPPER, LEFT and RIGHT formula returns #VALUE! when the cell is empty, because LEN(A2)-1 becomes -1 and RIGHT can’t take a negative number. The REPLACE function does the same job and simply returns a blank for an empty cell:
=REPLACE(LOWER(A2),1,1,UPPER(LEFT(A2,1)))
It converts the whole text to lowercase and then replaces the first character with its capital version. And if the text has extra spaces at the start, wrap the cell in TRIM, so the first letter isn’t a space:
=REPLACE(LOWER(TRIM(A2)),1,1,UPPER(LEFT(TRIM(A2),1)))
Replace the Original Text with the Result
The formulas give you the result in a new column. To replace the original text, copy the results, select the original cells, and use Paste Special ➜ Values (Ctrl + Alt + V, V, Enter). After that, you can delete the formula column.
You can also use Flash Fill: type the first name the way you want it in the next column, then press Ctrl + E, and Excel fills the rest following the same pattern.
Frequently Asked Questions
Is there a sentence case option in Excel?
No. Excel has PROPER, UPPER and LOWER, but no sentence case function. The REPLACE formula above gives you sentence case for text with one sentence.
Why does PROPER capitalize the letter after an apostrophe?
PROPER capitalizes every letter that follows a character that isn’t a letter, including apostrophes and numbers. Fix those cells by hand or with SUBSTITUTE, like replacing “’S ” with “’s “.
Can I capitalize the first letter without a formula?
Yes. Use Flash Fill (Ctrl + E) as shown above, or Power Query’s Transform ➜ Format ➜ Capitalize Each Word for larger data.
Written by
Puneet Gogia
Microsoft MVP — Excel · Founder, Excel Champs
Twelve years of teaching Excel, and a decade before that using it as a data analyst. Every tutorial here is written from a file I actually built.