How to Extract last two words from cell in Excel
Extracting the last two words from a cell in Microsoft Excel is a valuable skill for data cleaning, preparation, and analysis. This technique can be particularly useful when dealing with textual data, such as names, addresses, product descriptions, or any scenario where only the final part of the string is needed for analysis, reports, or data validation. Understanding how to efficiently perform this task can save time, reduce errors, and enhance the quality of your data insights.
??Purchase our book to improve your Excel productivity
Benefits
Being adept at extracting text segments from cells allows you to:
Step-by-Step Guide
Step 1: Identify Your Data
Assume you have a list of full names, and you need to extract the last two words (e.g., middle and last names) from each cell. Your data is located in column A, starting from cell A2.
Step 2: Use the RIGHT, LEN, and FIND Functions
The strategy involves using a combination of Excel functions to isolate the last two words. Here's how you can accomplish this:
??Purchase our book to improve your Excel productivity
Example
Imagine you have a list of customer feedback comments in an Excel sheet, and you're interested in analyzing the adjectives customers use most frequently to describe your product or service. The feedback is in column A, and you've noticed that customers often conclude their feedback with key descriptive words. You decide to extract the last two words from each feedback comment for analysis.
Step-by-Step Guide
Step 1: Prepare Your Data
Assume your customer feedback is in column A, starting from cell A2. Here's an example of what the data might look like:
Step 2: Use Excel Formulas to Extract the Last Two Words
Because Excel doesn’t have a direct function to extract the last two words, you'll need to combine several functions: TRIM, RIGHT, LEN, and SUBSTITUTE.
Step 3: Drag the Formulas Down
领英推荐
Explanation
Let's break down the formula in C2 for clarity:
Advanced Tips
??Purchase our book to improve your Excel productivity :
??102 Most Useful Excel Functions with Examples: The Ultimate Guide
???? Order it here : https://lnkd.in/enmdA8hq
?? Transform from novice to pro with:
?? Step-by-Step Guides
??? Clear Screenshots
?? Real-World Examples
?? Downloadable Practice Workbooks
?? Advanced Tips
IT Trainer / IT Consultant Trainer,? Expert Excel / VBA Designer,? Office 365,? MS Project Trainer,? IT Training delivered in Context
11 个月Just a thought now we have =TEXTAFTER could use =TEXTAFTER(A2," ",LEN(A2)-LEN(SUBSTITUTE(A2," ",""))-1) or even using =TEXTSPLIT with a =TAKE =TAKE(TEXTSPLIT(A2," "),,-2)
Innovator, Director, Writer, Designer
11 个月To [email protected] On 07.03.2024 Respected, Sir/ Madam? I want to draw your attention towards the diabetes eradication program. Diabetes is a metabolic disorder and it is not correct by any Medicine, Substitute, Yoga or Exercise. If possible please tell me.?In our body first diabetes1 comes and after some time?it changes into diabetes 2 I request you and your team, Please read my book Your Health Is In Your Mouth English?https://www.lulu.com/account/projects/zgvvk6 Hindi?https://www.flipkart.com/aapka-swasth-aapke-muh-me/p/itm22edae101e74a?pid=9789393385543 I want your company Looking forward to hearing from you soon.??
I am Excel user Bo?tjan Dolin?ek