Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to extract text between two words in Excel?

For instance, you have a list of values showed as below, and you just want to extract the text string between two words of "KTE" and "feature", there are any good ways to solve it? Here I introduce some tricky ways for you to extract the text between two specified words in Excel.


Extract text between two words with formula in Excel

Extract text between two words with Kutools for Excel


You may interest in

Easily split cell contents into rows or columns by space, comma, new line...in Excel

Kutools for Excel's Split Cells utility helps you easily split cell contents by space, comma, new line or other separators into separated rows or columns in Excel. See screenshot:

Kutools for Excel includes more than 300 handy Excel tools. Free to try with no limitation in 60 days. Read More      Download the free trial now


Extract text between two words with formula in Excel


In Excel, you can using a formula to extract text between two words by doing as follow:

1. Select a blank cell and type this formula =MID(A1,SEARCH("KTE",A1)+3,SEARCH("feature",A1)-SEARCH("KTE",A1)-4) into it , then press Enter button.

2. Drag the fill handle to fill the range you want to apply this formula. Now the text strings between "KTE" and "feature" are extracted only.

Notes:

1. In this formula, A1 is the cell you want to extract text from.

2. KTE and feature are the words you want to extract text between.

3. The number 3 is the characters length of KTE, and number 4 is equal to the characters length of KTE plus one.


Extract text between two words with Kutools for Excel

If the text you want to extract locates between the first and last words in cell and they are separated by spaces as below screenshot shown. The Extract Text utility of Kutools for Excel can help you.

Kutools for Excel : with more than 300 handy Excel add-ins, free to try with no limitation in 60 days.

1. Select the range with text strings you want to extract between two words, and then click Kutools > Text > Extract Text. See screenshot:

extract

2. In the Extract Text dialog box, you need to:

extract






(1) Press the Space key once, type character “*”, and then press the Space key once again (it should be Space*Space).

(2) Click the Add key to add the extracted rule to the list.

(3) Click the OK button.

 

3. In the second Extract Text dialog box, select a blank cell for locating the extracted string, and then click the OK button.

Now all texts between specified two words KTE and feature in selected range are extracted.

Tip.If you want to have a free trial of this utility, please go to download the software freely first, and then go to apply the operation according above steps.


Extract text between two words with Kutools for Excel

Kutools for Excel includes more than 300 handy Excel tools. Free to try with no limitation in 60 days. Download the free trial now!


Relative Articles:


Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.