# UPPER in Google Sheets: syntax and examples

URL: https://goingstellar.ro/reference/sheets/upper/

UPPER returns the text with every letter in capitals. Symbols such as the hyphen stay as they are. Use it to normalize codes, names and keys before a lookup or a comparison.

## Syntax

```
UPPER(text)
```

## Arguments

- `text` (string, required: yes): The text to convert to capital letters.

## Examples

The examples use this table, starting in A1:

| Name | City |
|---|---|
| ion popescu | iași |
| Ana-Maria | Cluj |
|   mixed Case   | brașov |

```
=UPPER(A2)
```

Result: `ION POPESCU`

A name in lowercase becomes all capitals. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=UPPER(B2)
```

Result: `IAȘI`

Romanian letters are converted too: ș becomes Ș. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=UPPER(A2&" - "&B2)
```

Result: `ION POPESCU - IAȘI`

Join two cells first, then convert the result. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=ARRAYFORMULA(UPPER(A2:A4))
```

Result: 

| ION POPESCU |
|---|
| ANA-MARIA |
|   MIXED CASE   |

One formula for a whole column: ARRAYFORMULA applies UPPER to every cell. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=EXACT(UPPER(A3),A3)
```

Result: `FALSE`

Checks whether a cell is already all capitals. Run in a Google Sheet (English US locale) on 2026-11-29.

## Common errors

- A range inside a plain formula gives #VALUE!. Wrap the formula in ARRAYFORMULA to convert a whole column.
- Spaces are kept: in the table, "  mixed Case  " comes back as "  MIXED CASE  " with its extra spaces. Add TRIM if you need them gone.

## Compared with Excel

Same syntax in Excel.

## Related functions

- [LOWER](https://goingstellar.ro/reference/sheets/lower/)
- [PROPER](https://goingstellar.ro/reference/sheets/proper/)
- [EXACT](https://goingstellar.ro/reference/sheets/exact/)
- [TRIM](https://goingstellar.ro/reference/sheets/trim/)
- [CONCATENATE](https://goingstellar.ro/reference/sheets/concatenate/)
- [TEXT](https://goingstellar.ro/reference/sheets/text/)

## Sources

- [UPPER (Docs Editors Help)](https://support.google.com/docs/answer/3094219)

