PROPER
Capitalizes the first letter of each alphanumeric word.
The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.
Syntax
=PROPER(text)
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
text | any | Required | — |
Return type
Can return text.
Remarks
- Word boundaries are reset by non-alphanumeric characters.
- Internal letters in each word are lowercased.
- Non-text inputs are coerced to text.
- Errors are propagated unchanged.
Examples
Apply the case conversion to two words with mixed capitalization.
Formula =PROPER("eAST team")
Expected result East Team
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Convert text that also includes digits and punctuation.
Formula =PROPER("Q2-sales")
Expected result Q2-Sales
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Case conversion of an empty string yields empty text.
Formula =PROPER("")
Expected result ""
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
An input error propagates before any text conversion.
Formula =PROPER(1/0)
Expected result #DIV/0!
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Title case simple phrase
Formula =PROPER("hello world")
Expected result Hello World
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Hyphen-separated words
Formula =PROPER("north-east REGION")
Expected result North-East Region
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Related functions
FAQ
How are word boundaries determined?
Any non-alphanumeric character starts a new word boundary for capitalization.