Excel Function: PROPER

Purpose

The PROPER function transforms the first letter of every word in a text value into upper case, and transforms every other letter into lower case. Its output is always a value of type text. The PROPER function defines a word to be a sequence of characters whose boundaries are delineated by any two of:

Invocations of the PROPER function take the form:

PROPER(text)

Arguments

ArgumentArgument typeDescription
textMandatoryA text value whose words will be transformed by the PROPER function.

Related Functions

FunctionExamplePurpose

Error Conditions

Error valueCondition typeCondition
#VALUE!Bad argumentA value of type currency, geography, or stock was supplied to the text argument.

Examples

ExampleFormulaResultDescription
1=PROPER("loReM iPsUm dOlOr") Lorem Ipsum DolorApply the PROPER function to mixed-case text using the space character as a delimiter.
  • The first letter of every word is capitalized.
  • Every other letter is transformed into lower case.
2=PROPER("loReM/iPsUm?dOlOr")Lorem/Ipsum?DolorApply the PROPER function to mixed-case text using “?” and “/” as word delimiters.
  • “?” and “/” are identified as word delimiters.
  • The first letter of every word is capitalized.
  • Every other letter is transformed into lower case.
  • “?” and “/” appear in the result.
3=PROPER("loReM1iPsUm2dOlOr")Lorem1Ipsum2DolorApply the PROPER function to mixed-case text using numbers as word delimiters.
  • “1” and “2” are identified as word delimiters.
  • The first letter of every word is capitalized.
  • Every other letter is transformed into lower case.
  • “1” and “2” appear in the result.

Examples: Errors

ExampleValue supplied to “text” argumentResultDescription
1MICROSOFT CORPORATION (XNAS:MSFT)#VALUE!Apply the PROPER function to a stock value.
  • The stock value cannot be treated as a text value by the PROPER function.
  • Because of this, the #VALUE! error value is returned.
2USD/GBP#VALUE!Apply the PROPER function to a currency value.
  • The currency value cannot be treated as a text value by the PROPER function.
  • Because of this, the #VALUE! error value is returned.
3Sydney#VALUE!Apply the PROPER function to a geography value.
  • The geography value cannot be treated as a text value by the PROPER function.
  • Because of this, the #VALUE! error value is returned.

These errors can be mitigated by converting values of type stock, currency and geography to text before passing them to the PROPER function. I.e.:

=PROPER(VALUETOTEXT(text))