Function Problems

Remove the First Three Digits from Numbers in Excel

Camila MilosovichCamila Milosovich Dec 2, 2026 869 views

Question details

Keep the final four digits of seven-digit numbers across a column and optionally make the results permanent.

Remove the First Three Digits from Seven-Digit Numbers in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
A column contains seven-digit numbers, and the user wants to remove the first three digits from each entry.
Observed behavior
Each entry should display its final four digits, with the option to replace formulas with fixed values.
Before you start

Identify the first data cell and an empty helper column next to your numbers. Check that the entries have seven digits and decide whether you need to keep leading zeros in the four-digit results.

Solution 1Recommended

Use RIGHT to keep the final four digits

Use a helper column to extract the last four digits and fill the formula down the column.

1
Enter the formula

In an empty cell next to the first number, such as B1, enter =RIGHT(A1,4). Replace A1 with the first data cell if your numbers start elsewhere.

2
Fill the column

Select the formula cell and drag or double-click its fill handle to copy the formula down beside the remaining numbers.

3
Keep fixed results

Select and copy the results, then use Paste Special > Values on the helper column or over the original cells to replace formulas with fixed values.

Use RIGHT to keep the final four digits
Leading zeros: RIGHT returns text, so a result such as 0042 keeps its leading zeros. Pasting as values removes the formulas but keeps the text results.
Try it in WPS Office

Keep the Last Four Digits in WPS Spreadsheet

Use the RIGHT function in WPS Spreadsheet to extract the last four digits, fill the formula down, and paste the results as values.

  1. 1. Open your spreadsheet: Open the workbook in WPS Spreadsheet and locate the column containing the seven-digit numbers.
  2. 2. Enter RIGHT: In an empty cell such as B1, enter =RIGHT(A1,4), changing A1 to the first data cell if needed.
  3. 3. Fill down: Select the formula cell and drag its fill handle down alongside the remaining entries.
  4. 4. Paste fixed values: Copy the results and use Paste Special > Values in the destination cells to keep the results without formulas.
Extract the final four digits with a familiar formulaPreserve leading zeros in text resultsOpen and edit Microsoft Excel XLSX and XLS filesUse a free spreadsheet application with a familiar interface
microsoft office alternative - wps office

Frequently Asked Questions

How do I keep a leading zero in the last four digits?

Use =RIGHT(A1,4). RIGHT returns text, so a result such as 0042 retains its leading zeros.

How can I replace the original numbers with the results?

Copy the helper-column results, select the first original cell, and choose Paste Special > Values. This replaces the original entries with fixed results.

Can I apply the formula to a whole column?

Enter =RIGHT(A1,4) beside the first data cell, then drag or double-click the formula cell's fill handle to copy it down the populated rows.

What happens if a cell has fewer than four characters?

RIGHT returns all available characters when the cell contains fewer than four. Check the source data if every result must contain exactly four digits.