To remove the last digit from a number in Excel, use a formula in a helper column: =LEFT(A1,LEN(A1)-1) for text results, or =VALUE(LEFT(A1,LEN(A1)-1)) if you need a real number back. For entries that are truly numeric, =INT(A1/10) does the same job with less typing. Type the formula next to your data, fill it down, then copy and paste the helper column back over the original as values if you want to replace it.

Before you start, decide whether you are trimming a text string (an account code, a product ID, a ZIP+4) or shortening a number (a price, a quantity, a measurement). The two need slightly different formulas, and mixing them up is where most errors come from. Excel version matters only in one place: if you use dynamic arrays (Microsoft 365, Excel 2021 and later), a single formula can spill down the whole column; older versions need the fill handle.

What You'll Need

  • Excel for Windows, Excel for Mac, or Excel for the web. The formulas below work in all of them and in Google Sheets and LibreOffice too.
  • Your data in a single column, ideally with a header row, so you can sort and filter safely.
  • One empty column beside your data for the helper formula. Insert a blank column first if there is none (Home > Insert > Insert Sheet Columns).
  • A copy of the workbook, or at least a backup of the sheet, if you plan to overwrite the original values.

Step-by-Step

  1. Check the data type first. Click a cell and look at the formula bar. If the entry starts with an apostrophe or sits to the left of the cell by default, it is stored as text. If it is a genuine number, it is right-aligned. Also check whether the digits you see are real digits. A cell displaying 3.50 may actually hold 3.5, or worse, a date or a percentage. If =ISNUMBER(A2) returns FALSE, treat the value as text.
  2. Insert a helper column. Click the column letter to the right of your data, right-click, and choose Insert. Give the new column a heading such as Trimmed so you do not confuse it with the original.
  3. Write the formula for one row. In the first data row of the helper column, type one of these:
    - Text result: =LEFT(A2,LEN(A2)-1)
    - Number result: =VALUE(LEFT(A2,LEN(A2)-1))
    - Genuine numbers only: =INT(A2/10)
    - Fixed-length codes, no LEN needed: =LEFT(A2,9) for a ten-character code
    - Numbers you want formatted a specific way: =TEXT(INT(A2/10),"0")
    Press Enter. If the result looks right for that row, continue.
  4. Fill the formula down. Click the helper cell, grab the small square at the bottom-right corner of the selection, and drag down to the last row. Alternatively, double-click that square to auto-fill to the bottom of the adjacent data. In Microsoft 365, if the formula spills automatically, you will see a light border around the results; no dragging needed.
  5. Review the whole column before you delete anything. Scroll through and look for blank results, #VALUE! errors, or values that changed unexpectedly. Blank rows in your source data are the usual cause of stray zero-ish results, and errors point to the next step.
  6. Convert formulas to plain values. Select the helper column, press Ctrl+C (Cmd+C on Mac), then right-click and choose Paste Special > Values (or Paste Options > Values from the clipboard menu). This stops the results changing if the source data is later edited or deleted.
  7. Replace the original. Select the pasted values, copy them again, click the first cell of the original column, and use Paste Special > Values once more. Then delete the helper column. Doing it in this order means a mistake at any point leaves the original data recoverable with Ctrl+Z.
  8. Verify. Compare a handful of rows against the source. A quick check is =LEN(A2) beside =LEN(B2): each trimmed value should be exactly one character shorter than the original, unless leading zeros were dropped.

If you need to strip the last character without keeping a formula at all, you can also use Data > Text to Columns > Fixed width, placing the break line one character from the right. Note that this option removes the last character of every value including any trailing spaces, and it overwrites the destination cells, so do it on a copy. Menu labels vary slightly between Excel versions, platforms and regional builds.

For a value that only ever has one digit to remove from a fixed number of digits, =REPLACE(A2,LEN(A2),1,"") is a tidy alternative. It deletes exactly one character at a stated position, which makes the intent obvious to anyone reading the sheet later.

Common Mistakes

Using RIGHT instead of LEFT. RIGHT keeps the last characters, not the first. This is the single most frequent error, and it produces results that look plausible on short codes, which is why it slips through review.

Forgetting LEN needs a minus one. =LEFT(A2,LEN(A2)) returns the original value unchanged. The formula is not wrong, it just does nothing.

Losing leading zeros. =VALUE("01230") returns 1230. If your codes must keep their leading zeros, do not wrap the result in VALUE, and format the destination column as Text before pasting.

Overwriting formulas with values in the wrong order. If you paste values over the source column before copying the helper results, the source is gone and the formulas recalculate against nothing. Copy, paste special as values, then overwrite.

Trimming real decimals. LEFT on the text 3.5 returns 3, but INT(3.5/10) returns 0. Neither is what you want if the last digit is a hundredths place. Convert the number to a rounded value with =ROUND(A2/10,0) instead, or use =TRUNC(A2/10) to drop digits without rounding.

Negative numbers. LEN("-123") is 4, so the minus sign counts as a character. =LEFT(A2,LEN(A2)-1) gives -12, which is usually correct, but =INT(-123/10) gives -13 because INT rounds down. Use =TRUNC(-123/10) for -12.

Tips

Keep the original column until the new one has been checked against a sample of at least twenty rows. Deleting the source immediately is how small errors turn into long correction sessions.

Name the helper column clearly and shade it a different fill colour while it holds formulas. Anyone opening the file later can then see which column is live and which is a finished copy.

If the data will be refreshed from another system, leave the formula column in place and let it recalculate, with a separate pasted tab for the snapshot you send to others.

Use =TEXTJOIN("",TRUE,...) sparingly for multi-column cleanup; it is powerful but hard to audit. Two simple LEFT columns are often easier to explain to a colleague than one clever nested formula.

Troubleshooting

You get #VALUE! errors. The source contains something Excel cannot treat as text in that position, often an empty string from a formula, an error value, or a number stored with a stray character. Wrap the formula in IFERROR: =IFERROR(LEFT(A2,LEN(A2)-1),""). Then filter the source for blanks and errors to see exactly which rows are affected.

Every result is identical. The formula is referencing an absolute cell or you filled down without relative references. Check that row 3 points at A3, not A2.

All results are zero. You are using INT(A2/10) on text that looks like a number, or on values under ten. Switch to the LEFT and LEN version.

Digits reappear after pasting. Excel is treating the pasted result as a number and reformatting it, or the destination cell has a custom number format adding a trailing character. Set the destination to Text before pasting, or check Home > Number Format for a custom code.

Some rows are one character short already. Those source values had a trailing space or a non-breaking space. Clean with =TRIM(A2) or =SUBSTITUTE(A2,UNICHAR(160),"") first, then trim the digit.

The formula produces a date. A seven-digit value like 2024123 read as a date serial will display oddly. Format the result column explicitly as General or Text, and if the value is genuinely a date you should not be trimming its last digit at all.

Nothing works and the file is huge. Save a copy, close and reopen Excel, and recalculate with Ctrl+Alt+F9. If only one workbook misbehaves, it may have failed to calculate fully after an external link broke; check Data > Edit Links and remove or update broken links.

Frequently Asked Questions

How do I remove the last digit from a whole column at once?

Put the formula in the first data row of a helper column, then drag the fill handle down or double-click it. In Microsoft 365 and Excel 2021, a single spilled formula referencing the whole range also works.

Can I remove the last two digits using the same idea?

Yes. Use =LEFT(A2,LEN(A2)-2), or =INT(A2/100) for genuine numbers. For three digits, change the number to 3 or divide by 1000.

Why does my result lose the leading zero?

Because VALUE, INT and TRUNC all produce a number, and Excel does not store leading zeros in numbers. Format the cell as Text (or use a custom format like 00000) and avoid the numeric conversion.

Does this work in Google Sheets?

Yes, the LEFT, LEN, VALUE, INT and TRUNC functions behave the same way in Sheets, and the fill handle and paste-special values flow are equivalent.

Can I do it without a formula?

Yes, with Text to Columns on Fixed width, or by retyping short lists. For more than a few rows the formula method is faster and safer, because it leaves an audit trail you can check.

Will removing a digit change the file if the cell is part of a chart?

Yes, any chart or pivot table using that range will update to the trimmed values. Recalculate or refresh the pivot after pasting the results, and check the chart labels before sharing the file.