---
title: "UPPER function in Excel: syntax and examples | PracticeExcel"
description: "How to use UPPER in Excel and Google Sheets: turn text into capitals, for codes and IDs."
canonical_url: "https://practiceexcelonline.com/functions/upper"
locale: en
meta:
  "og:description": "How to use UPPER in Excel and Google Sheets: turn text into capitals, for codes and IDs."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~VVBQRVIgZnVuY3Rpb24gaW4gRXhjZWw6IHN5bnRheCBhbmQgZXhhbXBsZXM%2Cdescription_~SG93IHRvIHVzZSBVUFBFUiBpbiBFeGNlbCBhbmQgR29vZ2xlIFNoZWV0czogdHVybiB0ZXh0IGludG8gY2FwaXRhbHMsIGZvciBjb2RlcyBhbmQgSURzLg%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_UPPER(text)%2Cp_Ii9mdW5jdGlvbnMvdXBwZXIi%2Cs_wQcysbtl0c3mDdkR.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "UPPER function in Excel: syntax and examples | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~VVBQRVIgZnVuY3Rpb24gaW4gRXhjZWw6IHN5bnRheCBhbmQgZXhhbXBsZXM%2Cdescription_~SG93IHRvIHVzZSBVUFBFUiBpbiBFeGNlbCBhbmQgR29vZ2xlIFNoZWV0czogdHVybiB0ZXh0IGludG8gY2FwaXRhbHMsIGZvciBjb2RlcyBhbmQgSURzLg%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_UPPER(text)%2Cp_Ii9mdW5jdGlvbnMvdXBwZXIi%2Cs_wQcysbtl0c3mDdkR.png"
---

> Index of every page on this site: [llms.txt](https://practiceexcelonline.com/llms.txt)

# **The UPPER function**

Converts text to capital letters.

=

UPPER(

## **Syntax**

```
UPPER(text)
```

<dl><dt>**text **</dt>
<dd>The text to convert.</dd></dl>

## **Examples**

C1=UPPER(A2)

|  | A | B | C |
| --- | --- | --- | --- |
| 1 | Code |  | **DK-2100** |
| 2 | dk-2100 |  | |

C1=UPPER("copenhagen")

|  | A | B | C |
| --- | --- | --- | --- |
| 1 | Code |  | **COPENHAGEN** |
| 2 | dk-2100 |  | |

## **Practice UPPER**

- [**1****Build an ID from a department and a number**→](https://practiceexcelonline.com/practice/join-text/build-id-left-upper)
- [**2****Codes in capitals only**→](https://practiceexcelonline.com/practice/data-validation/capitals-only)

## **Read the guide**

- [**How to clean data in Excel with formulas**](https://practiceexcelonline.com/learn/clean-data-in-excel)
- [**How to create a drop-down list in Excel, and make it update itself**](https://practiceexcelonline.com/learn/drop-down-list-excel)

## **Related functions**

- [**LOWER**](https://practiceexcelonline.com/functions/lower)
- [**PROPER**](https://practiceexcelonline.com/functions/proper)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://practiceexcelonline.com/#identity","@type":"Organization","name":"PracticeExcel","url":"https://practiceexcelonline.com/","logo":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/#website","@type":"WebSite","inLanguage":"en-US","name":"PracticeExcel","url":"https://practiceexcelonline.com/","alternateName":["Practice Excel Online","PracticeExcelOnline.com"],"publisher":{"@id":"https://practiceexcelonline.com/#identity"},"workTranslation":{"@id":"https://excelopgaver.dk/#website"}},{"@id":"https://practiceexcelonline.com/functions/upper#webpage","@type":"WebPage","description":"How to use UPPER in Excel and Google Sheets: turn text into capitals, for codes and IDs.","name":"UPPER function in Excel: syntax and examples","url":"https://practiceexcelonline.com/functions/upper","breadcrumb":{"@id":"https://practiceexcelonline.com/functions/upper#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/functions/upper"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/functions/upper#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://practiceexcelonline.com","position":1},{"@type":"ListItem","name":"Excel functions","item":"https://practiceexcelonline.com/functions","position":2},{"@type":"ListItem","name":"UPPER function in Excel: syntax and examples","position":3}]},{"@id":"https://practiceexcelonline.com/functions/upper#article","description":"How to use UPPER in Excel and Google Sheets: turn text into capitals, for codes and IDs.","headline":"UPPER function in Excel: syntax and examples","inLanguage":"en-US","thumbnailUrl":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~VVBQRVIgZnVuY3Rpb24gaW4gRXhjZWw6IHN5bnRheCBhbmQgZXhhbXBsZXM%2Cdescription_~SG93IHRvIHVzZSBVUFBFUiBpbiBFeGNlbCBhbmQgR29vZ2xlIFNoZWV0czogdHVybiB0ZXh0IGludG8gY2FwaXRhbHMsIGZvciBjb2RlcyBhbmQgSURzLg%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_UPPER(text)%2Cp_Ii9mdW5jdGlvbnMvdXBwZXIi%2Cs_wQcysbtl0c3mDdkR.png","@type":["Article","TechArticle"],"author":{"@id":"https://practiceexcelonline.com/#identity"},"image":{"@id":"https://practiceexcelonline.com/#/schema/image/1"},"isPartOf":{"@id":"https://practiceexcelonline.com/functions/upper#webpage"},"mainEntityOfPage":{"@id":"https://practiceexcelonline.com/functions/upper#webpage"},"publisher":{"@id":"https://practiceexcelonline.com/#identity"}},{"@id":"https://practiceexcelonline.com/#logo","@type":"ImageObject","caption":"PracticeExcel","contentUrl":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png"},{"@id":"https://practiceexcelonline.com/#/schema/image/1","@type":"ImageObject","contentUrl":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~VVBQRVIgZnVuY3Rpb24gaW4gRXhjZWw6IHN5bnRheCBhbmQgZXhhbXBsZXM%2Cdescription_~SG93IHRvIHVzZSBVUFBFUiBpbiBFeGNlbCBhbmQgR29vZ2xlIFNoZWV0czogdHVybiB0ZXh0IGludG8gY2FwaXRhbHMsIGZvciBjb2RlcyBhbmQgSURzLg%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_UPPER(text)%2Cp_Ii9mdW5jdGlvbnMvdXBwZXIi%2Cs_wQcysbtl0c3mDdkR.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~VVBQRVIgZnVuY3Rpb24gaW4gRXhjZWw6IHN5bnRheCBhbmQgZXhhbXBsZXM%2Cdescription_~SG93IHRvIHVzZSBVUFBFUiBpbiBFeGNlbCBhbmQgR29vZ2xlIFNoZWV0czogdHVybiB0ZXh0IGludG8gY2FwaXRhbHMsIGZvciBjb2RlcyBhbmQgSURzLg%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_UPPER(text)%2Cp_Ii9mdW5jdGlvbnMvdXBwZXIi%2Cs_wQcysbtl0c3mDdkR.png"}]}
```

## Sitemap

See the full [sitemap](https://practiceexcelonline.com/sitemap.md) for all pages.
