The easiest way to do this is with the newer TEXTBEFORE function.

Both formulas are explained below.

Note: this formula does not account for titles (Ms., Mr., Dr., etc.)

Excel formula: Get last name from name

in the full name.

If titles exist, they should be removed first.

The TEXTBEFORE function extracts text that occurs before a given delimiter.

Excel formula: Get middle name from full name

The TEXTBEFORE function has a lot of options which areexplained on this page.

The number 1 is subtracted from this number to account for the space itself.

TheLEFT functionuses this number as the total number of characters that should be extracted in the next step below.

Excel formula: Split full name into parts

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

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

Excel formula: Get last name from name with comma

Excel formula: Get first name from name with comma

Excel formula: Join first and last name

Excel TEXTBEFORE function

Excel LEFT function

Excel FIND function