For a list of text strings as shown in the screenshot below, to extract the text string between two words "KTE" and "feature" from each cell, are there any good ways to solve it? This tutorial introduces two methods to help you get it done.
Note: In the formula, the number 3 represents the character length of the word "KTE"; the number 4 represents the character length of the word "KTE" plus 1.
You can see all text strings between the specified two words are extracted from each cell in column B.
3.2.2 Extract text between two words with an amazing tool
For many Excel users, formulas may be hard to remember and handle. Here, with the Extract strings between specified text feature of Kutools for Excel, you can easily extract text between two words with just a few clicks.
1. Select a cell to output the result, and then click Kutools > Formula Helper > Formula Helper.
2. In the Formula Helper dialog box, you need to configure as follows.
2.1) Check the Filter box and then enter the word “Extract” into the text box;
2.2) In the Choose a formula list box, click the Extract strings between specified text option;
2.3) In the Arguments input section:
In the Cell box, select a cell where you want to extract the text (here I select cell B5);
In the Start char(s) box, enter the start word of the two words you want to extract all text strings after it;
In the End char(s) box, enter the end word of the two words you want to extract all text strings before it.
2.4) Click Ok. See screenshot:
3. Then all text strings between two words “KTE” and “feature” within the cell B5 is extracted. Meanwhile, a formula has been created, you can select this result cell and then drag its AutoFill Handle down to extract texts from other cells in the same list.
If you want to have a free trial (30-day) of this utility, please click to download it, and then go to apply the operation according above steps.