Excel RIGHT function🔤 Right characters

The RIGHT function: Right characters. Last digits of a code. This page shows the syntax, a worked example with its result and how the formula reads.

What does RIGHT do?

Right characters. Last digits of a code

RIGHT syntax

=RIGHT(text, [num_chars])

Arguments in square brackets [ ] are optional · argument names follow Microsoft's documentation

RIGHT example with the result

=********

👑 Ready-to-use example formula for VIP supporters only · Become VIP

Formula in cell B2 Yellow cells = result

AB
1Product codeLast 4
2BKK-04510451

How it reads: Takes the last 4 characters

Frequently asked questions about RIGHT

What does RIGHT do?

Right characters. Last digits of a code

What does the RIGHT example return?

The example formula in cell B2 gives 0451.

Which Excel versions have RIGHT?

It has been in Excel for many versions and works in the versions in common use today, including Excel for Microsoft 365.

Source: support.microsoft.com

Checked 17 November 2026 · by Black Sheep Barn · example results are calculated by the app's example engine, for learning

🤖
Posting...
Please wait a moment
Social VIP Classroom
Home
Thai Smiles Profile