---
title: "Codes in capitals only | PracticeExcel"
description: "Practice a data validation rule in Excel that only allows codes in capital letters, with EXACT and UPPER. Checked as you type."
canonical_url: "https://practiceexcelonline.com/practice/data-validation/capitals-only"
locale: en
meta:
  "og:description": "Practice a data validation rule in Excel that only allows codes in capital letters, with EXACT and UPPER. Checked as you type."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_Codes%2Bin%2Bcapitals%2Bonly%2Cdescription_~UHJhY3RpY2UgYSBkYXRhIHZhbGlkYXRpb24gcnVsZSBpbiBFeGNlbCB0aGF0IG9ubHkgYWxsb3dzIGNvZGVzIGluIGNhcGl0YWwgbGV0dGVycywgd2l0aCBFWEFDVCBhbmQgVVBQRVIuIENoZWNrZWQgYXMgeW91IHR5cGUu%2Ceyebrow_Drop-down%2Blists%2Band%2Bdata%2Bvalidation%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIl0sInJvd3MiOlt7Im4iOjEsImNlbGxzIjpbIlByb2R1Y3QgY29kZSIsIlByb2R1Y3QiLCJSdWxlIl19LHsibiI6MiwiY2VsbHMiOlsiS0ItMTA0IiwiS2V5Ym9hcmQiLCIiXX1dLCJ0YXJnZXQiOlsxLDJdfX0%2Cp_Ii9wcmFjdGljZS9kYXRhLXZhbGlkYXRpb24vY2FwaXRhbHMtb25seSI%2Cs_QX0JuV8ybLQn600z.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Codes in capitals only | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_Codes%2Bin%2Bcapitals%2Bonly%2Cdescription_~UHJhY3RpY2UgYSBkYXRhIHZhbGlkYXRpb24gcnVsZSBpbiBFeGNlbCB0aGF0IG9ubHkgYWxsb3dzIGNvZGVzIGluIGNhcGl0YWwgbGV0dGVycywgd2l0aCBFWEFDVCBhbmQgVVBQRVIuIENoZWNrZWQgYXMgeW91IHR5cGUu%2Ceyebrow_Drop-down%2Blists%2Band%2Bdata%2Bvalidation%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIl0sInJvd3MiOlt7Im4iOjEsImNlbGxzIjpbIlByb2R1Y3QgY29kZSIsIlByb2R1Y3QiLCJSdWxlIl19LHsibiI6MiwiY2VsbHMiOlsiS0ItMTA0IiwiS2V5Ym9hcmQiLCIiXX1dLCJ0YXJnZXQiOlsxLDJdfX0%2Cp_Ii9wcmFjdGljZS9kYXRhLXZhbGlkYXRpb24vY2FwaXRhbHMtb25seSI%2Cs_QX0JuV8ybLQn600z.png"
---

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

# **Codes in capitals only**

**Premium**

Product codes must be typed in capital letters. Write the rule for A2 in C2. Compare A2 with UPPER(A2) using EXACT, since a plain = ignores case.

C2fx

|  | A | B | C | D | E | F |
| --- | --- | --- | --- | --- | --- | --- |
| 1 | Product code | Product | Rule |  |  | |
| 2 | KB-104 | Keyboard |  |  |  | |
| 3 |  |  |  |  |  | |
| 4 |  |  |  |  |  | |
| 5 |  |  |  |  |  | |
| 6 |  |  |  |  |  | |
| 7 |  |  |  |  |  | |
| 8 |  |  |  |  |  | |

**Premium lesson**

## **Unlock Drop-down lists and data validation and every other lesson**

This is a premium lesson. Premium lets you solve it and every other lesson, take the timed mock tests, and earn certificates you can share on LinkedIn.

Next with premium:**COUNTIF****SUMIF**

[**See plans, from $5/month**](https://practiceexcelonline.com/pricing) [**Already premium? Sign in**](https://practiceexcelonline.com/login?next=/practice/data-validation/capitals-only)

Need help?

```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/practice/data-validation/capitals-only#webpage","@type":"WebPage","description":"Practice a data validation rule in Excel that only allows codes in capital letters, with EXACT and UPPER. Checked as you type.","name":"Codes in capitals only","url":"https://practiceexcelonline.com/practice/data-validation/capitals-only","breadcrumb":{"@id":"https://practiceexcelonline.com/practice/data-validation/capitals-only#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/practice/data-validation/capitals-only"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/practice/data-validation/capitals-only#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://practiceexcelonline.com","position":1},{"@type":"ListItem","name":"Excel practice exercises","item":"https://practiceexcelonline.com/practice","position":2},{"@type":"ListItem","name":"Drop-down lists and data validation","item":"https://practiceexcelonline.com/practice/data-validation","position":3},{"@type":"ListItem","name":"Codes in capitals only","position":4}]},{"@id":"https://practiceexcelonline.com/practice/data-validation/capitals-only#/schema/learning-resource/1","@type":"LearningResource","description":"Practice a data validation rule in Excel that only allows codes in capital letters, with EXACT and UPPER. Checked as you type.","educationalLevel":"intermediate","isAccessibleForFree":false,"learningResourceType":"exercise","name":"Codes in capitals only","teaches":"Drop-down lists and data validation"},{"@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"}]}
```

## Sitemap

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