Skip to main content

Excel Formula:Remove from right of text

Generally, you remove characters from left of text, but sometimes, you may need to remove from right, how can you deal with this problem? Actually, combining the LEFT and LEN functions to create a formula will do you a favor.
doc find position of nth occurrence of a character 1

Generic formula:



Filename: the text string or cell you want to remove from right.
N: the number of characters you want to remove from right of the text.

How this formula work

Here are two columns, B3:C5, one contains the texts, and the other one contains the numbers of characters you need to remove from right of text, please use below formula in cell D3.


Press Enter keys and drag fill handle from cell D3 to D5 for applying this formula.
doc remove from right 2


LEN function: the LEN function gets the number of characters of the text. Here it returns the length of cell B3.

LEFT function: the LEFT function extracts a given number of characters from left side of a text. Here the formula calculation steps will be shown as


If the argument text is a numeric value, you can add the VALUE function in the front of the formula to change the result to number.

VALUE (LEFT(text,LEN(text)-n))

doc remove from right 3

Sample File

doc sampleClick to download sample file

Relative Formulas

  • Find most requenst text with criteria
    In some cases, you may want to find the text which appears most frequently based on a criterion in Excel. This tutorial introduces an array formula to handle this job and gives the explanation about the arguments of this formula.
  • Combine cells with commas
    Here this tutorial provides some formulas to join multiple cells into one cell with comma as separator as below screenshot shown, and also explains how the formulas work in Excel.
  • Make text same length
    If there is a list of texts with different lengths, for looking nicer, you can make these text with same length by adding trailing characters as below screenshot shown. Here it provides a formula which combines the LEN and REPT functions to handle it in Excel.
  • Check if cell contains number
    Sometimes, you may want to check if a cell contains numeric characters. This tutorial provides a formula which will return TRUE if the cell contains number, FALSE if cell does not contain number.

The Best Office Productivity Tools

Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
Rate this post:
0   Characters
Suggested Locations