Text function
PROPER function in Google Sheets and Excel
PROPER capitalises the first letter of every word and makes the other letters lower case.
Checked against Microsoft's and Google's documentation on · Example calculated on a live sheet
- Excel 2016
- Excel 2019
- Excel 2021
- Excel 2024
- Microsoft 365
- Google Sheets
Syntax
PROPER(text)Arguments in [brackets] are optional. Google Sheets writes it PROPER(text_to_capitalize).
Example
=PROPER(A3) reads: Take "JONAS LIND" in A3 and give each word a capital first letter and lower case for the rest.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Name | Member code | City | Capitals | |
| 2 | mara okafor | mara.okafor@example.com | GB-2041 | London | |
| 3 | JONAS LIND | jonas.lind@example.org | SE-1187 | Malmö | Jonas Lind |
| 4 | priya raman | priya.raman@example.net | IN-3302 | Pune | |
| 5 | Tomás Ruiz | tomas.ruiz@example.com | ES-0419 | Seville | |
| 6 | elif demir | elif.demir@example.org | TR-2750 | Izmir | |
| 7 | Kenji MORI | kenji.mori@example.net | JP-1093 | Osaka | |
| 8 | sofia rossi | sofia.rossi@example.com | IT-4468 | Turin | |
| 9 | Leo Brandt | leo.brandt@example.org | DE-3321 | Leipzig |
E3 shows Jonas Lind.
How the spreadsheet calculates it
Capitalises the first letter of each word in A3 and lowercases the rest.
- 1. PROPER: Capitalises the first letter of each word in
A3and lowercases the rest.text=`A3`: the cell to fix
More PROPER examples
=PROPER(TRIM(A2))Clean spaces, then capitals: Mara Okafor.=PROPER(D2)A city typed in any case, in title case.=PROPER(SUBSTITUTE(LEFT(B2,FIND("@",B2)-1),"."," "))A name from an email: mara.okafor@… becomes Mara Okafor.=IF(EXACT(A3,PROPER(A3)),"OK","Fix case")Flags names that aren't already in title case.
Paste any of these into the formula explainer to see it step by step.
Tips
- Use it on names and places, not on codes, emails or acronyms.
- Clean spaces first with TRIM; PROPER leaves spaces alone.
- Keep the original column until you've checked the results.
What PROPER is used for
Tidying names, cities and titles typed in all capitals or all lower case, before mail merges, badges, certificates and reports, so every row looks the same.
Arguments
| Argument | Required | What it is |
|---|---|---|
| text | Yes | The text or cell to fix, such as A3. Text typed into the formula needs quotes. |
Common mistakes
Using PROPER on codes like “GB-2041”: it would turn them into “Gb-2041”.
Running names like McDonald or van der Berg through it: they come out as Mcdonald and Van Der Berg. PROPER doesn't know naming rules, so check the names it changes.
Text with apostrophes: Microsoft documents that PROPER capitalises any letter that follows a character other than a letter, so it's can come out as It'S.
In Google Sheets
Google Sheets has PROPER with the same single argument (Google calls it text_to_capitalize).
Errors you may see with PROPER
- #NAME?: Text typed into the formula without quotes, like `=PROPER(jonas)`: unquoted words are read as names.
Questions
How do I capitalise only the first letter of a sentence?
Build it from pieces: =UPPER(LEFT(A2,1))&LOWER(MID(A2,2,LEN(A2))) capitalises the first character and lowers the rest.
How do I fix names that also have extra spaces?
Trim first, then capitalise: =PROPER(TRIM(A2)) turns " mara okafor " into Mara Okafor.
How do I make text all capitals or all lower case?
Use UPPER for capitals and LOWER for lower case. They change every letter, unlike PROPER.
Can I replace the original names with the fixed ones?
Yes: copy the PROPER column, paste it as values over the originals, then delete the helper column. A formula can't change the cell it reads from.
Does PROPER change numbers or punctuation?
No. Digits, spaces and punctuation stay as they are; only letters change case. A letter right after a digit or a hyphen counts as the start of a new word, which is why codes like GB-2041 are best left alone.
Sources
Official documentation the facts on this page were checked against.