UPPER
Converts text to uppercase.
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
=UPPER(text)
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
text | any | Required | — |
Return type
Can return text.
Remarks
- Uses ASCII uppercasing semantics in this implementation.
- Numbers and booleans are first converted to text.
- Errors are propagated unchanged.
Examples
Apply the case conversion to two words with mixed capitalization.
Formula =UPPER("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 =UPPER("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 =UPPER("")
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 =UPPER(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?.
Uppercase letters
Formula =UPPER("Quarterly report")
Expected result QUARTERLY REPORT
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?.
Number coerced to text
Formula =UPPER(123)
Expected result 123
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
Is uppercasing fully Unicode-aware?
This implementation uses ASCII uppercasing semantics, so non-ASCII case rules are limited.