Description:
In this video, I'll show you how to extract text between two characters in Excel. You'll see a classic MID and FIND formula that works in any version, a shorter TEXTBEFORE and TEXTAFTER formula for Microsoft 365, what to do when both characters are the same, and Flash Fill.
Formulas from this video (copy and paste them into Excel):
Text between parentheses, any Excel version (type in B2, then fill down):
=MID(A2,FIND("(",A2)+1,FIND(")",A2)-FIND("(",A2)-1)
Text between parentheses, Excel for Microsoft 365 (type in C2, fills the column on its own):
=TEXTBEFORE(TEXTAFTER(A2:A7,"("),")")
Text between two dashes (same character on both sides, type in F2):
=TEXTBEFORE(TEXTAFTER(E2:E7,"-"),"-")
Chapters:
00:00 Intro
00:23 MID + FIND formula (any Excel version)
00:59 TEXTBEFORE + TEXTAFTER (Microsoft 365)
01:24 When both characters are the same
01:49 Flash Fill (Ctrl + E)
Share this link via
Or copy link























