Excel Formulas to Get the Last Word of a Text String ~ Quick Method!!
Tags: excelformula, excelformulas
Published: 2021-06-19 11:15:42

---
title: Excel Formulas to Get the Last Word of a Text String ~ Quick Method!!
published: true
date: 2021-06-11 09:55:54 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-get-the-last-word-of-the-text-string/
---

In the previous post, we have learned the formula to **[find the first word of the text string in Excel](https://geekexcel.com/excel-formulas-to-get-the-first-word-of-a-text/)**. Likewise, here we will see the formulas to **get the last word of a text string in Excel**. Let’s dive into this article!! Get an official version of ** MS Excel**  from the following link: [https://www.microsoft.com/en-in/microsoft-365/excel](https://www.microsoft.com/en-in/microsoft-365/excel)

[![Get last word of the text](https://geekexcel.com/wp-content/uploads/2021/06/Get-last-word-of-the-text.png)](https://geekexcel.com/excel-formulas-to-get-the-last-word-of-the-text-string/get-last-word-of-the-text/#main)<figcaption id="caption-attachment-46348">Get last word of the text</figcaption>

## Generic Formula:

- If you want to find the last word of the text string, you can use the below formula.

**=[TRIM](https://geekexcel.com/use-trim-function-in-microsoft-excel-2013-simple-methods/)([RIGHT](https://geekexcel.com/how-to-use-right-function-in-microsoft-excel-365/)([SUBSTITUTE](https://geekexcel.com/how-to-use-substitute-function-in-microsoft-excel-2013/)(text,” “,[REPT](https://geekexcel.com/how-to-use-rept-function-in-microsoft-excel-2013/)(” “,100)),100)) **

## Syntax Explanations:

- **TRIM** – This function removes the extra spaces from the text and there is no space at the start or end of the text string. Read more on the [**TRIM function**](https://geekexcel.com/use-trim-function-in-microsoft-excel-2013-simple-methods/).
- **RIGHT** – In Excel, the [**RIGHT function**](https://geekexcel.com/how-to-use-right-function-in-microsoft-excel-365/) helps to extract the texts with the given number of characters from the right side.
- **SUBSTITUTE**  – This function helps to replace existing text with new text in a text string when you want to replace text based on its content, not position. Read more on the [**SUBSTITUTE function**](https://geekexcel.com/how-to-use-substitute-function-in-microsoft-excel-2013/).
- **REPT** – The **[REPT function](https://geekexcel.com/how-to-use-rept-function-in-microsoft-excel-2013/)** will help to repeat characters a given number of times.
- **Minus Operator (-)** – This symbol will help to subtract any two values.
- **Text** – It represents the input value.
- **Comma symbol (,)** – It is a separator that helps to separate a list of values.
- **Parenthesis ()** – The main purpose of this symbol is to group the elements.

## Practical Example:

Let’s consider the below example image.

- First, we will enter the input text strings in **Column B.**
- Here we need to extract the last word.

![Input Ranges](https://geekexcel.com/wp-content/uploads/2021/06/Input-Ranges-25.png)<figcaption id="caption-attachment-46349">Input Ranges</figcaption>

- Select any cell and type the above-given formula.

![Enter the formula](https://geekexcel.com/wp-content/uploads/2021/06/Enter-the-formula-35.png)<figcaption id="caption-attachment-46347">Enter the formula</figcaption>

- Finally, press the ** ENTER** key, you can get the result as shown below.

![Result](https://geekexcel.com/wp-content/uploads/2021/06/Result-29.png)<figcaption id="caption-attachment-46350">Result</figcaption>

## Wrap-Up:

From this guide, you can get to know the formulas to **get the last word of a text in Excel**. Hope you like it. If you have any **questions** or **suggestions** regarding this lesson, feel free to use the **comments** section below to let us know.

Thank you so much for visiting  **[Geek Excel](https://geekexcel.com/)!! **If you want to learn more helpful formulas, check out [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!! **

### Related Articles:

- **[Excel Formulas to Extract Nth Word From a Text String ~ Simple Tips!!](https://geekexcel.com/excel-formulas-to-extract-nth-word-from-a-text-string-simple-tips/)**
- **[Excel Formulas to Count specific word in a range ~ Easy Tutorial!!](https://geekexcel.com/excel-formulas-to-count-specific-words-in-a-range/)**
- **[Formulas for Extracting Substring Between Two Texts in Excel 365!!](https://geekexcel.com/formulas-for-extracting-substring-between-two-texts-in-excel-365/)**
- **[Excel Formulas to Extract the Month Number from Name!!](https://geekexcel.com/excel-formulas-to-extract-month-number-from-name/)**