---
title: "Build an ID from a department and a number | PracticeExcel"
description: "Practice LEFT, UPPER and & in a live spreadsheet: build a badge ID from a department name and an employee number."
canonical_url: "https://practiceexcelonline.com/practice/join-text/build-id-left-upper"
locale: en
meta:
  "og:description": "Practice LEFT, UPPER and & in a live spreadsheet: build a badge ID from a department name and an employee number."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_Build%2Ban%2BID%2Bfrom%2Ba%2Bdepartment%2Band%2Ba%2Bnumber%2Cdescription_~UHJhY3RpY2UgTEVGVCwgVVBQRVIgYW5kICYgaW4gYSBsaXZlIHNwcmVhZHNoZWV0OiBidWlsZCBhIGJhZGdlIElEIGZyb20gYSBkZXBhcnRtZW50IG5hbWUgYW5kIGFuIGVtcGxveWVlIG51bWJlci4%2Ceyebrow_~Sm9pbmluZyB0ZXh0IHdpdGggJiBhbmQgVEVYVEpPSU4%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIl0sInJvd3MiOlt7Im4iOjEsImNlbGxzIjpbIkRlcGFydG1lbnQiLCJFbXBsb3llZSBuby4iLCJCYWRnZSBJRCJdfSx7Im4iOjIsImNlbGxzIjpbIk1hcmtldGluZyIsIjEwNDIiLCIiXX0seyJuIjozLCJjZWxscyI6WyJGaW5hbmNlIiwiODc3IiwiIl19LHsibiI6NCwiY2VsbHMiOlsiU2FsZXMiLCIxMzEwIiwiIl19XSwidGFyZ2V0IjpbMSwyXX19%2Cp_Ii9wcmFjdGljZS9qb2luLXRleHQvYnVpbGQtaWQtbGVmdC11cHBlciI%2Cs_fT43iiLA2bYhNIf2.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Build an ID from a department and a number | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_Build%2Ban%2BID%2Bfrom%2Ba%2Bdepartment%2Band%2Ba%2Bnumber%2Cdescription_~UHJhY3RpY2UgTEVGVCwgVVBQRVIgYW5kICYgaW4gYSBsaXZlIHNwcmVhZHNoZWV0OiBidWlsZCBhIGJhZGdlIElEIGZyb20gYSBkZXBhcnRtZW50IG5hbWUgYW5kIGFuIGVtcGxveWVlIG51bWJlci4%2Ceyebrow_~Sm9pbmluZyB0ZXh0IHdpdGggJiBhbmQgVEVYVEpPSU4%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIl0sInJvd3MiOlt7Im4iOjEsImNlbGxzIjpbIkRlcGFydG1lbnQiLCJFbXBsb3llZSBuby4iLCJCYWRnZSBJRCJdfSx7Im4iOjIsImNlbGxzIjpbIk1hcmtldGluZyIsIjEwNDIiLCIiXX0seyJuIjozLCJjZWxscyI6WyJGaW5hbmNlIiwiODc3IiwiIl19LHsibiI6NCwiY2VsbHMiOlsiU2FsZXMiLCIxMzEwIiwiIl19XSwidGFyZ2V0IjpbMSwyXX19%2Cp_Ii9wcmFjdGljZS9qb2luLXRleHQvYnVpbGQtaWQtbGVmdC11cHBlciI%2Cs_fT43iiLA2bYhNIf2.png"
---

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

# **Build an ID from a department and a number**

**Premium**

Badge IDs are the first 3 letters of the department in capitals, a dash and the employee number, like MAR-1042. In C2, build the ID with LEFT, UPPER and &.

C2fx

|  | A | B | C | D | E | F |
| --- | --- | --- | --- | --- | --- | --- |
| 1 | Department | Employee no. | Badge ID |  |  | |
| 2 | Marketing | 1042 |  |  |  | |
| 3 | Finance | 877 |  |  |  | |
| 4 | Sales | 1310 |  |  |  | |
| 5 |  |  |  |  |  | |
| 6 |  |  |  |  |  | |
| 7 |  |  |  |  |  | |
| 8 |  |  |  |  |  | |

**Premium lesson**

## **Unlock Joining text with & and TEXTJOIN 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:**SUBSTITUTE, TEXTBEFORE and TEXTAFTER****Dates and DATE**

[**See plans, from $5/month**](https://practiceexcelonline.com/pricing) [**Already premium? Sign in**](https://practiceexcelonline.com/login?next=/practice/join-text/build-id-left-upper)

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/join-text/build-id-left-upper#webpage","@type":"WebPage","description":"Practice LEFT, UPPER and & in a live spreadsheet: build a badge ID from a department name and an employee number.","name":"Build an ID from a department and a number","url":"https://practiceexcelonline.com/practice/join-text/build-id-left-upper","breadcrumb":{"@id":"https://practiceexcelonline.com/practice/join-text/build-id-left-upper#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/practice/join-text/build-id-left-upper"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/practice/join-text/build-id-left-upper#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":"Joining text with & and TEXTJOIN","item":"https://practiceexcelonline.com/practice/join-text","position":3},{"@type":"ListItem","name":"Build an ID from a department and a number","position":4}]},{"@id":"https://practiceexcelonline.com/practice/join-text/build-id-left-upper#/schema/learning-resource/1","@type":"LearningResource","description":"Practice LEFT, UPPER and & in a live spreadsheet: build a badge ID from a department name and an employee number.","educationalLevel":"intermediate","isAccessibleForFree":false,"learningResourceType":"exercise","name":"Build an ID from a department and a number","teaches":"Joining text with & and TEXTJOIN"},{"@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.
