To get all text before “quick”, use 1 for instance number.

To get all text before “brown”, use 2 for instance number.

Take care in situations where a delimiter cannot be found andmatch_endis enabled.

TEXTAFTER with a positive instance number

Ifmatch_endis enabled andinstance_numis 1, TEXTAFTER will return an empty string ("") ifdelimiteris not found.

Ifmatch_endis enabled andinstance_numis -1, TEXTAFTER will return the entire string ifdelimiteris not found.

When the target delimiter is found,match_endhas no effect.

TEXTAFTER with a positive instance number

One use of this feature is to handle inconsistent delimiters in the source text.

This behavior is controlled by thematch_modeargument,a boolean value that enables and disables case-sensitivity.

By default,match_modeis FALSE.

TEXTAFTER with a positive instance number

TEXTSPLIT can split text into rows or columns.

TEXTBEFORE Function

The Excel TEXTBEFORE function returns the text that occurs before a given substring or delimiter.

CONCAT Function

The Excel CONCAT function concatenates (joins) values supplied as references or constants.

TEXTAFTER with a positive instance number

TEXTAFTER with a positive instance number

TEXTAFTER with a negative instance number

TEXTAFTER with more than one delimiter

TEXTAFTER case sensitive example

Excel formula: Get sheet name only

Excel formula: Get domain name from URL

Excel formula: Get last name from name

Excel formula: Split text string at specific character

Excel formula: Get page from URL

Excel formula: Get workbook name only

Excel formula: Get domain from email address

Excel formula: Sort by substring

Excel formula: List sheet names with formula

Excel formula: Get middle name from full name

Excel formula: Get top level domain (TLD)

Excel formula: Put names into proper case

Excel formula: Get first name from name with comma

Excel formula: Sum numbers with text

Article image

Article image

Article image

Article image

Excel TEXTJOIN function

Excel TEXTSPLIT function

Excel TEXTBEFORE function

Excel CONCAT function

TEXTAFTER with more than one delimiter

TEXTAFTER case sensitive example