Notice the location of the underscore is different in each row.

This means the formula needs to locate the position of the underscore character first before any text is extracted.

There are two basic approaches to solving this problem.

Formulas for splitting text in older versions of Excel

If you are using Excel 365, the best approach is to use the TEXTBEFORE and TEXTAFTER functions.

Both approaches are explained below.

Choose the best option based on your specific needs.

Formulas for splitting text in older versions of Excel

The result is “Assessment in cell C5 and “January 10” in cell D5.

As the formula is copied down it performs the same operation on all values in column B.

As this formula is copied down, it will return the same results seen in column C above.

Formulas for splitting text in older versions of Excel

As this formula is copied down, it will return the same results seen in column D above.

TEXTAFTER Function

The Excel TEXTAFTER function returns the text that occurs after a given substring or delimiter.

For example, =LEFT(“apple”,3) returns “app”.

Formulas for splitting text in older versions of Excel

For example, =RIGHT(“apple”,3) returns “ple”.

LEN will also count characters in numbers, but number formatting is not included.

When the text is not found, FIND returns a #VALUE error.

Formulas for splitting text in older versions of Excel

Excel TEXTSPLIT function

Excel TEXTBEFORE function

Excel TEXTAFTER function

Excel formula: Split text and numbers

Excel formula: Split dimensions into two parts

Excel formula: Split numbers from units of measure

Excel formula: Get first word

Excel formula: Get last word

Excel formula: Split text with delimiter

Excel formula: Trim text to n words

Excel TEXTBEFORE function

Excel TEXTAFTER function

Excel LEFT function

Excel RIGHT function

Excel LEN function

Excel FIND function

Article image

Article image

Article image