Category: FUNCTION | Updated: 2026-11-22
How to Use the UPPER Function in Google Sheets | Convert All Letters to Uppercase
How to Use the UPPER Function
The UPPER function converts all lowercase letters in a specified text string to uppercase. It is useful whenever you want to enforce uppercase formatting for product codes, country codes (JPN, USA), coupon codes, or model numbers.
Syntax
=UPPER(text)
- text: The text string or cell reference to convert to uppercase (required).
Example Using a Table
Here is an example of standardizing management codes and country codes to all uppercase.
| Row | Column A (Input Code) | Column B (Standardized to Uppercase) |
|---|---|---|
| 1 | Input Code | Converted Result |
| 2 | jpn-tokyo-01 |
=UPPER(A2) → JPN-TOKYO-01 |
| 3 | sku_a98b |
=UPPER(A3) → SKU_A98B |
| 4 | AbCdEf123 |
=UPPER(A4) → ABCDEF123 |
- Formula:
=UPPER(A2) - Result:
JPN-TOKYO-01
Only lowercase alphabetic characters are converted to uppercase; hyphens and numbers remain unchanged.
Common Errors and Notes
- Useful for Preprocessing Case-Sensitive Functions: Before using case-sensitive functions such as
EXACTorFIND, standardizing both sides withUPPERprevents mismatches caused by inconsistent casing. - Japanese Characters and Symbols Are Unaffected: Hiragana, katakana, kanji, numbers, and symbols are unchanged (small kana such as
っorゃare not converted toつorや). - Numeric Cells Are Returned as Text: If the source cell contains a pure number (e.g.,
12345), no error occurs, but the returned value is converted to a text data type.
Frequently Asked Questions
Q. Does the UPPER function also convert full-width letters to uppercase?
A. Yes. Not only half-width letters (a–z), but also full-width letters (a–z) are converted to full-width uppercase (A–Z).
Q. How do I overwrite the original cells with the uppercase text from UPPER?
A. Copy the range containing the UPPER formulas, select the original range, right-click, and choose "Paste special" > "Values only" to overwrite them as plain uppercase text rather than formulas.