Example 1
Fix a name typed in mixed case
C2 =PROPER(A2)
Result: Dana Whitfield
The first letter of each word is capitalised, and the rest of each word is lower-cased.
C2 =PROPER(A2) returns Dana Whitfield
Capitalises the first letter of each word and converts the rest to lower case.
Syntax
=PROPER()
All versions of Excel.
Try it
Edit the formula in C2 or change the inputs. The sheet recalculates as you type.
C2 =PROPER(A2) returns Dana Whitfield
PROPER converts text to "proper case": the first letter of every word is capitalised and all other letters are made lower case. It is the standard fix for names and titles that arrive in capitals, in lower case or a random mix.
=PROPER("dana WHITFIELD") returns Dana Whitfield. Every letter after the first in a word becomes lower case, so WHITFIELD is corrected as well, not just dana.
PROPER works on letters. Digits, spaces and punctuation are left as they are. The text can be a cell or a string typed in quotes.
PROPER capitalises a letter whenever the character before it is not a letter. That is simple and mostly right, but it explains the odd results:
anne-marie becomes Anne-Marie.o'brien becomes O'Brien, which is right. But it's becomes It'S, which is wrong, because the S follows an apostrophe.3rd floor becomes 3Rd Floor.mcdonald becomes Mcdonald, not McDonald. Acronyms such as usa become Usa.PROPER has no exception list. After running it over a large list, scan the result for names and terms that need a manual fix.
PROPER keeps spaces exactly as they are, so " anya kowalski " becomes " Anya Kowalski " with all the extra spaces. Nest it with TRIM so that you fix both: =PROPER(TRIM(A2)). Either order gives the same result.
UPPER and LOWER change every letter. PROPER capitalises each word. Excel has no function for sentence case, where only the first letter of the whole text is capitalised. Build it from the pieces: =UPPER(LEFT(A2,1))&LOWER(MID(A2,2,LEN(A2))) turns PALLET WRAP into Pallet wrap.
= comparison and lookups already ignore case, so PROPER is rarely needed to make two values match. It is for presentation.PROPER returns text and leaves the source cell unchanged. To replace the original, copy the formula results and paste them back as values. If you only need the corrected text for display, keep the formula.
Numbers pass through unchanged but become text, so don't apply PROPER to a column of numbers.
A2. A letter is capitalised when it follows any character that is not a letter, such as a space, hyphen or apostrophe.Each example is a live sheet. Change the inputs or the formula and watch the result.
Example 1
C2 =PROPER(A2)
Result: Dana Whitfield
The first letter of each word is capitalised, and the rest of each word is lower-cased.
C2 =PROPER(A2) returns Dana Whitfield
Example 2
C2 =PROPER(TRIM(A2))
Result: Anya Kowalski
TRIM removes the extra spaces, and PROPER fixes the capitals. PROPER alone would keep all the spaces.
C2 =PROPER(TRIM(A2)) returns Anya Kowalski
Example 3
C2 =PROPER(A2)
Result: Anne-Marie O'Brien
A letter after a hyphen or an apostrophe is capitalised. That is right for names, but wrong for contractions such as it's.
C2 =PROPER(A2) returns Anne-Marie O'Brien
Example 4
C2 =PROPER(A2)
Result: 3Rd Floor, It'S Mcdonald
A letter that follows a digit or an apostrophe is capitalised, and PROPER knows nothing about "Mc". These need a manual fix.
C2 =PROPER(A2) returns 3Rd Floor, It'S Mcdonald
Solve it in the sheet. Every answer is checked, with hints if you need them.
Task 1 of 2
In B2, return the name in A2 with the first letter of each word capitalised and the rest lower case. Fill it down to B5.
Answer in B2, then it fills down to B5.
it's becomes It'S. Fix such cases by hand, or with SUBSTITUTE, after PROPER.3rd becomes 3Rd. Product codes and ordinals need checking.Mcdonald, Macleod, De Souza and Usa.PROPER(TRIM(A2)) to fix both problems.Use `=PROPER(A2)`. To tidy spaces at the same time, use `=PROPER(TRIM(A2))`.
Excel has no function for it, but you can combine two: `=UPPER(LEFT(A2,1))&LOWER(MID(A2,2,LEN(A2)))`. It capitalises the first character and lower-cases the rest.
PROPER capitalises any letter that follows a non-letter, and the apostrophe counts as one. The same rule capitalises the R in 3rd. Fix these results manually or with SUBSTITUTE.
No. It has no exception list, so `mcdonald` becomes `Mcdonald`. Correct such names by hand after running PROPER.
Not in Excel itself. The case commands belong to Word. In Excel, use PROPER, UPPER or LOWER in a helper column and paste the results back as values.
PROPER is taught in Logic and text, lesson 8: PROPER, UPPER and LOWER. Each lesson is a short, graded exercise like the one above.