How to Remove Last Word from Cell in Excel (Easy & Quick)

January 8, 2024 6.5K views

Removing the last word from a cell in Excel is a common task that can be used to clean data, extract specific information, and prepare data for analysis or further processing. However, it can be difficult to identify the exact position of the last word, especially when dealing with varying data formats or inconsistent data entries. This article will provide you with 5 best methods to remove the last word from a cell in Excel, so you can easily clean up your data and get the results you need.

How to Remove the Last Word from a Cell in Excel

  • Using LEFT & LEN Functions

Step 1: Select the target output cell, for instance, E5.

Step 2: Apply the formula: =LEFT(D5,LEN(D5)-3).

In this formula, D5 represents the text, and LEN(D5)-3 (e.g., 5-3=2) specifies num_chars. As a result, only the first two characters will be displayed.

Step 3: Press ENTER to generate the output.

Step 4: Utilize the Fill Handle icon to drag down the formula, extending similar results to other cells.

  • Using MID Function

Step 1: Choose the target output cell, such as E5.

Step 2: Apply the formula: =MID(D5,1,LEN(D5)-3).

In this formula, D5 stands for the text, 1 represents the start num, and LEN(D5)-3 (e.g., 5-3=2) indicates num_char.

Step 3: Press ENTER to obtain the output.

Step 4: Use the Fill Handle icon to drag down the formula, extending the results to other cells in the Department column.

  • Using Flash Fill Feature

Step 1: Choose the output cell, for instance, E5.

Step 2: Manually type the department name from Cell D5 into Cell E5.

Step 3: In Cell E6, start typing a department name similar to the previous one. Excel will suggest department names based on your input.

Step 4: Press ENTER to confirm your selection, and the suggested department names will appear automatically in subsequent cells.

Recommend WPS Spreadsheet
  • Use Word, Excel, and PPT for FREE, No Ads.

  • Same Excel Formula as Microsoft. Perfectly compatible with MS format.

  • Microsoft-like interface. Easy to learn. 100% Compatibility.

  • Boost your professional productivity by 10x with WPS's abundant free Excel templates.

5,820,008 User
Algirdas Jasaitis
  • Using TRIM Function

Step 1: Choose the cell where you want the modified text to appear.Step 2: Enter the formula "=TRIM(RIGHT(SUBSTITUTE(A2," ",REPT(" ",10)),10))”

Step 3: Press ENTER to obtain the output.

Step 4: Drag the Fill Handle down to apply the formula to other cells.

  • Using SUBSTITUTE Function

Step 1: Select the target cell,where you want to display the modified text.

Step 2: Input the formula "=SUBSTITUTE(D5," " & TRIM(RIGHT(SUBSTITUTE(D5," ",REPT(" ",LEN(D5))),LEN(D5))), "")".

Step 3: Press ENTER to generate the result.

Step 4: Drag the Fill Handle down to extend the formula's application to other cells.

Free Office Suite for Word, Excel, PowerPoint ——WPS Office

WPS Office: A modern and powerful suite of office tools for Word, Excel, PowerPoint and PDF tasks. If you're seeking to remove the last word from an Excel cell, WPS Office is an ideal solution. Here's why:

  • Isolating Specific Information: WPS Office aids in precise data extraction, allowing you to isolate essential details effortlessly.

  • Data Restructuring: Seamlessly reorganize information using WPS Office's versatile features, enhancing data presentation and clarity.

  • Enhanced Analysis: Streamline data analysis by effectively removing unnecessary elements, enabling focused insights.

  • Data Cleaning: WPS Office empowers you to maintain data accuracy and quality, ensuring optimal performance in Excel tasks.

Now you can download WPS for free. Get it and use it!

Download Website:

Frequently Asked Questions (FAQs)

1. How to identify one word in a cell in Excel?

To spot specific words within Excel cells, follow these steps: review the cell content, count characters to find the word's starting point, determine word length, and use "=MID(A1, 25, 4)" to extract the word. Alternatively, employ adaptable formulas like "=MID(A1, FIND("good", A1))" with FIND and MID functions. Calculate word length by locating the next space after the start, subtracting start position from space position. Combine steps with the MID function for a single formula.

2. How to handle if cell contains a word then puts a text in another cell?

For handling cases where a cell contains a specific word and inserting text into another cell, follow this straightforward formula. Begin by selecting the target cell and input "=IF(ISNUMBER(SEARCH("word", A2)),"Text","")". Replace "word" with the word you're checking for and adjust cell references as needed.


In summary, mastering the art of removing the last word from an Excel cell is a valuable skill in today's data-driven world. This article has equipped you with five easy and efficient methods to achieve this. Whether using basic functions like LEFT and LEN, or more advanced techniques like TRIM and SUBSTITUTE, you now have a range of tools at your disposal.

And when it comes to optimizing your Excel tasks, look no further than WPS Office—a modern suite of tools for Word, Excel, and PowerPoint. With WPS Office, you can effortlessly extract essential data, rearrange information, analyze with clarity, and ensure data cleanliness.

15 years of office industry experience, tech lover and copywriter. Follow me for product reviews, comparisons, and recommendations for new apps and software.