Skip to main content

Kutools for Office — One Suite. Five Tools. Get More Done.

Formula to extract substring between two texts in Excel

Author Sun Last modified

Kutools for Excel

Boosts Excel With 300+
Powerful Features

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


How to use the Extract strings between specified text feature

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.


Demo: Extract substring between two specified texts in Excel

 
Kutools for Excel: Over 300 handy tools at your fingertips! Enjoy permanently free AI features! Download Now!

Productivity Tools Recommended

Office Tab: Use handy tabs in Microsoft Office, just like Chrome, Firefox, and the new Edge browser. Easily switch between documents with tabs — no more cluttered windows. Know more...

Kutools for Outlook: Kutools for Outlook offers 100+ powerful features for Microsoft Outlook 2010–2024 (and later versions), as well as Microsoft 365, helping you simplify email management and boost productivity. Know more...


Kutools for Excel

Kutools for Excel offers 300+ advanced features to streamline your work in Excel 2010 – 2024 and Microsoft 365. The feature above is just one of many time-saving tools included.

🌍 Supports 40+ interface languages
✅ Trusted by 500,000+ users and 80,000+ businesses worldwide
🚀 Compatible with all modern Excel versions
🎁 30-day full-featured trial — no registration, no limitations
Kutools for Excel RibbonKutools for Excel Ribbon