---
title: "Take the last digits with RIGHT | PracticeExcel"
description: "Practice RIGHT in a live spreadsheet: take the running number from the end of an invoice code."
canonical_url: "https://practiceexcelonline.com/practice/left-right-mid/right-last-characters"
locale: en
meta:
  "og:description": "Practice RIGHT in a live spreadsheet: take the running number from the end of an invoice code."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_Take%2Bthe%2Blast%2Bdigits%2Bwith%2BRIGHT%2Cdescription_~UHJhY3RpY2UgUklHSFQgaW4gYSBsaXZlIHNwcmVhZHNoZWV0OiB0YWtlIHRoZSBydW5uaW5nIG51bWJlciBmcm9tIHRoZSBlbmQgb2YgYW4gaW52b2ljZSBjb2RlLg%2Ceyebrow_~TEVGVCwgUklHSFQgYW5kIE1JRA%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiXSwicm93cyI6W3sibiI6MSwiY2VsbHMiOlsiSW52b2ljZSIsIk51bWJlciJdfSx7Im4iOjIsImNlbGxzIjpbIklOVi0yMDI0LTAzODciLCIiXX1dLCJ0YXJnZXQiOlsxLDFdfX0%2Cp_Ii9wcmFjdGljZS9sZWZ0LXJpZ2h0LW1pZC9yaWdodC1sYXN0LWNoYXJhY3RlcnMi%2Cs_GR1gKQpxxgokXQxF.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Take the last digits with RIGHT | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_Take%2Bthe%2Blast%2Bdigits%2Bwith%2BRIGHT%2Cdescription_~UHJhY3RpY2UgUklHSFQgaW4gYSBsaXZlIHNwcmVhZHNoZWV0OiB0YWtlIHRoZSBydW5uaW5nIG51bWJlciBmcm9tIHRoZSBlbmQgb2YgYW4gaW52b2ljZSBjb2RlLg%2Ceyebrow_~TEVGVCwgUklHSFQgYW5kIE1JRA%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiXSwicm93cyI6W3sibiI6MSwiY2VsbHMiOlsiSW52b2ljZSIsIk51bWJlciJdfSx7Im4iOjIsImNlbGxzIjpbIklOVi0yMDI0LTAzODciLCIiXX1dLCJ0YXJnZXQiOlsxLDFdfX0%2Cp_Ii9wcmFjdGljZS9sZWZ0LXJpZ2h0LW1pZC9yaWdodC1sYXN0LWNoYXJhY3RlcnMi%2Cs_GR1gKQpxxgokXQxF.png"
---

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

# **Take the last digits with RIGHT**

**Premium**

In B2, use RIGHT to get the last four characters of the invoice in A2, the running number.

B2fx

|  | A | B | C | D | E | F |
| --- | --- | --- | --- | --- | --- | --- |
| 1 | Invoice | Number |  |  |  | |
| 2 | INV-2024-0387 |  |  |  |  | |
| 3 |  |  |  |  |  | |
| 4 |  |  |  |  |  | |
| 5 |  |  |  |  |  | |
| 6 |  |  |  |  |  | |
| 7 |  |  |  |  |  | |
| 8 |  |  |  |  |  | |

**Premium lesson**

## **Unlock LEFT, RIGHT and MID 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:**FIND and SEARCH****Joining text with & and TEXTJOIN**

It comes up in this mock test: [**Excel test for admin jobs**](https://practiceexcelonline.com/tests/excel-test-for-admin-jobs)

[**See plans, from $5/month**](https://practiceexcelonline.com/pricing) [**Already premium? Sign in**](https://practiceexcelonline.com/login?next=/practice/left-right-mid/right-last-characters)

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/left-right-mid/right-last-characters#webpage","@type":"WebPage","description":"Practice RIGHT in a live spreadsheet: take the running number from the end of an invoice code.","name":"Take the last digits with RIGHT","url":"https://practiceexcelonline.com/practice/left-right-mid/right-last-characters","breadcrumb":{"@id":"https://practiceexcelonline.com/practice/left-right-mid/right-last-characters#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/practice/left-right-mid/right-last-characters"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/practice/left-right-mid/right-last-characters#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":"LEFT, RIGHT and MID","item":"https://practiceexcelonline.com/practice/left-right-mid","position":3},{"@type":"ListItem","name":"Take the last digits with RIGHT","position":4}]},{"@id":"https://practiceexcelonline.com/practice/left-right-mid/right-last-characters#/schema/learning-resource/1","@type":"LearningResource","description":"Practice RIGHT in a live spreadsheet: take the running number from the end of an invoice code.","educationalLevel":"beginner","isAccessibleForFree":false,"learningResourceType":"exercise","name":"Take the last digits with RIGHT","teaches":"LEFT, RIGHT and MID"},{"@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.
