14
Excel Formulas to Extract a Last Two Words From a Cell ~ Quickly!!
Assume that you have a list of values, and you need to separate the last two words from each cell. How could you solve this problem in Excel? In this chapter, we will show the simple tricks to extract the last two words from a cell in Excel. Let’s see them below!! Get an official version of ** MS Excel** from the following link: https://www.microsoft.com/en-in/microsoft-365/excel
- You can use the below formula to extract the last two words from a cell in Excel.
=MID(A1,FIND(“@”,SUBSTITUTE(A1,” “,”@”,LEN(A1)-LEN(SUBSTITUTE(A1,” “,””))-1))+1,100)
- MID – This function helps to extract the number (starting from the left side) or characters from the given string. Read more on the MID function.
- FIND – The Excel, FIND function is used to find out the one text string inside the other.
- LEN – In Excel, the LEN function is used to find the length of the text string.
- 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.
- A1 – 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.
- Minus Operator (-) – This symbol will help to subtract any two values.
- Plus operator (+) – This symbol is used to add the values.
Let’s consider the below example.
- First, we will enter the input text strings in Column B.
- Here, we have to extract the last two words from each and every cell.
- Select any cell and type the above-given formula.
- Finally, press the ** ENTER** key, you can get the result as shown below.
Hope you like this article on how to extract the last two words from the cell in Excel. Please feel free to state your query or feedback for the above article.
Thank you so much for visiting *Geek Excel!! **If you want to learn more helpful formulas, check out Excel Formulas *!! **
14