Log in  \/ 
x
or
x
x
Register  \/ 
x

or

Formula to extract substring between two texts in Excel

In sometimes, you may want to extract substring between two specified characters from a string to another cell in Excel. In this case, you can try the Extract strings between specified text feature in Kutools for Excel which can do you a favor.
shot extract string between two texts 1

Apply this feature by clicking Kutools > Formula Helper > Formula Helper, then in the popping Formulas Helper dialog, choosing Text from the Formula Type drop-down list, and selecting Extract strings between specified text from the list in Choose a formula section. See screenshot:

shot extract string between two texts 2  arrow right  shot extract string between two texts 3 

Following below steps to extract substring between two texts in a cell:

1. Select a cell to place the extracted string, click Kutools > Formula Helper > Formula Helper.
shot extract string between two texts 2

2. In the popping Formulas Helper dialog, you can find the Extract strings between specified text through two ways.

1) Choose Text from the drop-down list of Formula Type, then select Extract strings between specified text in the section of Choose a formula.
shot extract string between two texts 3

2)Check Filter checkbox, then type “string” into the right textbox, then you can find the Extract strings between specified text list in the Choose a formula section.
shot extract string between two texts 5

3. In Argument input section, click shot range to select the cell you want to extract substring from, then you can continue clicking shot range in Start char(s) and End Char(s) textboxes to specified the two texts, or you can directly type the texts into the textboxes.
shot extract string between two texts 6

4. Click Ok, then the substring has been extracted.
shot extract string between two texts 7

If you need, drag fill handle over cells to apply this feature.
shot extract string between two texts 8

Tip:

1. If this feature does you a favor, you could click shot share button to share this feature to your friends.
shot share

2. The two texts you extract substring based on cannot be the same.

3. To prevent circular reference, please do not insert the formula in the first row of the worksheet.


Productivity Tools Recommended
The following tools can greatly save your time and money, which one is right for you?
Office Tab: Using handy tabs in your Office, as the way of Chrome, Firefox and New Internet Explorer.
Kutools for Excel: More than 300 Advanced Functions for Excel 2019, 2016, 2013, 2010, 2007 and Office 365.
Classic Menu for Office: Bring back familiar menus to Office 2007, 2010, 2013, 2016, 2019 and 365, as if it were Office 2000 and 2003.

Kutools for Excel

The functionality described above is just one of 300 powerful functions of Kutools for Excel.

Designed for Excel(Office) 2019, 2016, 2013, 2010, 2007 and Office 365. Free download and use for 60 days.

Screen shot of Kutools for Excel

btn read more      btn download     btn purchase

Say something here...
symbols left.
You are guest
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.