TEXTAFTER
Extract everything after a chosen occurrence of a delimiter.
Syntax
=TEXTAFTER(text, delimiter, [instance_num], [match_mode], [match_end], [if_not_found])Worked example
Extract the identifier after the first hyphen.
=TEXTAFTER("WH-704","-")Result 704 (text)
Microsoft documentation
Check the arguments, supported editions and behavior of this function in Microsoft’s reference.
Microsoft referenceExtract Last Name using TEXTAFTER function in Excel
Practice TEXTAFTER
Extract the identifier after the first hyphen.
| A | B | |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 |
Show example formula
=TEXTAFTER(B2,B3) Lesson quiz
Answer three questions to see your level in this lesson.
