PROPER title-cases text but mangles real-world names — “McDonald” becomes “Mcdonald,” “O’Brien” loses its cap, “IBM” turns into “Ibm.” Wrap PROPER in SUBSTITUTE to patch the known exceptions and get clean, correct capitalization.
The example
PROPER alone vs PROPER with exception fixes.
| A | B | C | |
|---|---|---|---|
| 1 | Raw | PROPER | Fixed |
| 2 | RONALD MCDONALD | Ronald Mcdonald | Ronald McDonald |
| 3 | mary o'brien | Mary O'Brien | Mary O'Brien |
The formula
PROPER, then a SUBSTITUTE to fix “Mc” names:
How it works
Bulk-fix with PROPER, then patch the exceptions:
PROPER(A2)capitalizes the first letter of every word — getting 95% right but breaking patterns with internal capitals.- Each
SUBSTITUTErepairs one known issue:"Mcd" → "McD"restores the capital D in “McDonald.” - Stack more SUBSTITUTEs for other patterns —
"Macd" → "MacD", fixing “Ii” back to “II,” etc. - Note PROPER already handles
O’Briencorrectly (it capitalizes after the apostrophe) — only patch what’s actually wrong for your data.
There’s no perfect formula for names. Capitalization rules are genuinely ambiguous (van der Berg? MacLeOd?). Patch the exceptions that appear in your data; for messy international names, a manual review or a dedicated tool beats chasing every edge case.
Try it: interactive demo
Type a name; compare PROPER with the Mc-fixed version.
Variations
Fix multiple patterns
Nest SUBSTITUTEs:
Keep acronyms uppercase
Repair a known acronym after PROPER:
Just first-letter-of-sentence
Capitalize only the first character:
Pitfalls & errors
PROPER breaks internal capitals and acronyms. McDonald, MacLeod, IBM, PhD — all need patching. SUBSTITUTE fixes the specific ones you hit.
SUBSTITUTE is case-sensitive, which is what makes the patch work — it targets PROPER’s exact wrong output ("Mcd").
Order can matter when patterns overlap. Test on your real data, and apply the more specific fixes first.
Practice workbook
Frequently asked questions
How do I fix PROPER capitalizing names like McDonald wrong?
How do I keep acronyms uppercase after PROPER?
Is there a perfect formula for name capitalization?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class