How to extract all but first / last word in Excel?
To extract all words from a cell but the first or the last word can help you to remove the unwanted word you need, in this case, of course, you can copy the wanted words and paste them in another cell one by one. But, this will be bored if there are multiple cell values need to be extracted except the first or last word. How could you extract all words except the first or last in Excel quickly and easily?
Extract all but the first / last word with formulas
Extract all but the first / last word with Kutools for Excel
Extract all but the first / last word with formulas
The following two formulas may help you to extract all words but the first or last from multiple cells at once.
Extract all but the first word:
Enter this formula: =RIGHT(A2,LEN(A2)-FIND(" ",A2)) into a blank cell where you want to locate the extracted result, and then drag the fill handle down to the cells which you want to apply this formula, and all the words in the reference cells have been extracted except the first, see screenshot:
Extract all but the last word:
To extract the words except the last one, please enter this formula: =LEFT(A2,FIND("[",SUBSTITUTE(A2," ","[",LEN(A2)-LEN(SUBSTITUTE(A2," ",""))))-1), and then drag the fill handle down to the cells which you want to contain this formula, all words but the last one have been extracted at once, see screenshot:
Extract all but the first / last word with Kutools for Excel
Is there any quick method without using formulas to deal with this task? With Kutools for Excel’s Extract Text utility, you can quickly extract certain text string based on some criteria.
Kutools for Excel : with more than 300 handy Excel add-ins, free to try with no limitation in 30 days. |
After installing Kutools for Excel, please do as follows:
1. Select the data range that you want to extract the words except the first or last.
2. Then click Kutools > Text > Extract text, see screenshot:
3. In the Extract Text dialog box:
(1.) To extract all but first words, please type a space and * character into the Text box, to extract all words but the last one, please type * character and a space bar.
(2.) Then click Add button to add this criteria to the Extract list box, see screenshot:
Tips: the * character indicates any characters, the space and * means it will extract all words after the first space in cell, and * and space means to extract all words before the last space.
4. Then click Ok button, and a prompt box will pop out to remind you select a cell to put the result, see screenshot:
5. And then click OK button, all the words except the first or last one have been extracted into the specified cells. See screenshot:
Download and free trial Kutools for Excel Now !
Demo: Extract all but the first / last word with Kutools for Excel
Best Office Productivity Tools
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!