UPPER Function (OpenOffice Calc)
Learn the UPPER function in Apache OpenOffice Calc: Converts text to uppercase.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Availability and version history
- Introduced: Documented by Apache OpenOffice 4.1.16; original introduction not established.
- Availability: Supported in Apache OpenOffice 4.1.16, verified against its function registry. This identifies a supported release, not a final working version.
- Scope: Desktop Calc, using the English function name. Availability in other spreadsheet applications is separate.
- Checked: 2026-10-14 — function reference; versioned support. Documentation/source check; not a new native test. Existing example-specific test claims below retain their stated scope.
UPPER converts letters to uppercase and returns a text value. It is useful for a standardized helper key or a fixed presentation convention. It does not remove spaces, validate a code, or change the original source cell.
Syntax and arguments
=UPPER(text)
text is the required source string, reference or string-producing expression. There is no optional language, casing mode or separator argument. The implementation uses Calc’s character-class casing service; ASCII examples below do not establish every language-specific conversion. The formulas use English function names and Calc’s semicolon argument separator.
Reproducible examples
| Formula | Expected text or number |
|---|---|
=UPPER("calc") |
"CALC" |
=UPPER("Good Morning") |
"GOOD MORNING" |
=UPPER("ab-123") |
"AB-123" |
=UPPER(" ALpha ") |
" ALPHA " |
=UPPER("ABC") |
"ABC" |
=UPPER("") |
"" |
Here "" denotes zero-length text, not a displayed pair of quotation marks. The first example retains the original guide’s formula. Its comparable LibreOffice 25.2 result was not an OpenOffice test; the new examples are expected results derived from the documented operation and independently checked text mappings.
Practical worksheet: create standardized department keys
Enter sales, Sales and SALES in A2:A4. In B2 enter =UPPER(A2) and fill down. All three results are SALES. This creates a consistent helper key while retaining the original spellings in column A. It intentionally removes case distinctions, so check whether those distinctions matter to the source system.
Put sales, including one ordinary space at each end, in A5. UPPER(A5) retains those spaces. If the cleaning policy also allows surplus ordinary-space removal, =UPPER(TRIM(A5)) returns SALES. Case conversion and whitespace cleanup are separate transformations.
Advanced applications
Build a readable code. With A2=north and B2=0042 stored as text, =UPPER(A2)&"-"&B2 returns NORTH-0042. If B2 is numeric 42 and four digits are required, use =UPPER(A2)&"-"&TEXT(B2;"0000"). This makes the formatting rule explicit.
Audit uppercase input. With nonempty ASCII source text in A2, =EXACT(A2;UPPER(A2)) tests whether case conversion changes the string. For ABC-12 it returns TRUE; for Abc-12 it returns FALSE. Use EXACT for a case-sensitive comparison rather than relying on the ordinary equality operator. Numeric-only text and empty text can pass this test without containing any uppercase letters.
Errors, edge cases and troubleshooting
UPPER is not a spelling or identity correction. Standardizing names can damage intentional brand styling or culturally meaningful capitalization; preserve the original value and review the output.
Do not assume every Unicode conversion preserves string length. Locale and character-case rules can affect non-ASCII text; test representative names on the installed product before imposing a casing policy. No Turkish-I, sharp-s or other language-specific native results are claimed here.
A number passed to a text function need not retain its visible date, currency or custom-zero format. Use TEXT when a precise display representation is required. Errors in referenced inputs should be diagnosed upstream; UPPER does not turn a failed calculation into valid text.
For a list of records, enter a scalar helper formula in the first result row and fill down. Check the absolute and relative references before copying. Do not assume that a single multi-cell argument automatically produces a modern spill range in OpenOffice Calc.
Related functions
Documentation and verification
See the Apache OpenOffice UPPER reference, 4.1.16 text-function help, and versioned interpreter. The source snapshots were originally retrieved on 2026-10-13 and re-read for this revision. Independent text calculations are not native application or GUI tests. Current support is version-scoped above; introduction and final functioning version remain unestablished.