Skip to main content

Text formula page

Proper Case Names Formula

Use this when imported names arrive in inconsistent uppercase, lowercase, or spacing.

Best for

Convert names to proper case in Excel or Google Sheets.

What it returns

If A2 is maya chen with extra spaces, the result is Maya Chen.

Copy formulas

Excel formula
=PROPER(TRIM(A2))
Google Sheets formula
=PROPER(TRIM(A2))
Excel / Google Sheets difference

PROPER capitalizes the first letter of each word after TRIM removes ordinary edge and repeated spaces; it does not know brand-specific capitalization rules.

Example data

Raw TextExample Result
Maya ChenMaya
SKU-1001-EastSKU
https://www.example.com/pricingexample.com
Acme North Acme North
What it returns

If A2 is maya chen with extra spaces, the result is Maya Chen.

How the formula works

  • TRIM cleans spacing first.
  • PROPER capitalizes the first letter of each word.
  • Review acronyms and brand names manually after applying.
Syntax pieceRole in the formula
TRIM(A2)The cleaned source text passed to PROPER.
PROPERThe function that capitalizes the first letter of each word.
review outputA manual review step for acronyms, brands, and names with special capitalization.

Verified examples

Clean personal name
=PROPER(TRIM(A2))

Excel: Enter two leading spaces, maya chen, and two trailing spaces in A2. Returns: Maya Chen

Title-case company text
=PROPER(TRIM(A2))

Google Sheets: Enter acme usa in A2. Returns: Acme Usa

Apostrophe name
=PROPER(TRIM(A2))

Excel: Enter o'NEILL in A2. Returns: O'Neill

Common errors and fixes

IssueLikely causeFix
USA becomes UsaPROPER applies word capitalization without knowing acronym conventions.Apply a manual exception or a targeted replacement after PROPER.
A brand name is capitalized incorrectlyBrand capitalization does not follow ordinary title case.Keep an exception list or use a targeted replacement for known brands.
Spacing is still inconsistentThe source contains nonbreaking spaces that TRIM does not remove.Replace CHAR(160) before applying PROPER(TRIM(A2)).

When not to use this formula

  • Do not use PROPER as a name validator or when every acronym and brand exception must be preserved automatically.

Alternatives

AlternativeWhen to use it
Remove Extra Spaces FormulaUse when spacing cleanup is needed without changing capitalization.
CSV Column CleanerUse when a full imported name column needs repeatable cleanup.

Related formulas

Official references

FAQ

Can PROPER preserve acronyms?

No. It changes USA to Usa and similar acronyms need manual exceptions.

Does PROPER validate a person's name?

No. It changes the capitalization of every word and should be reviewed for names and brands.