Remove the First Three Digits from Numbers in Excel
Question details
Keep the final four digits of seven-digit numbers across a column and optionally make the results permanent.

- 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.
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.
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.
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.
Select the formula cell and drag or double-click its fill handle to copy the formula down beside the remaining numbers.
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.

Extract the last four digits with Power Query
Use Power Query when you need to repeat the transformation as source data changes.
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. Open your spreadsheet: Open the workbook in WPS Spreadsheet and locate the column containing the seven-digit numbers.
- 2. Enter RIGHT: In an empty cell such as B1, enter =RIGHT(A1,4), changing A1 to the first data cell if needed.
- 3. Fill down: Select the formula cell and drag its fill handle down alongside the remaining entries.
- 4. Paste fixed values: Copy the results and use Paste Special > Values in the destination cells to keep the results without formulas.

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.




