Flip the first and last name in Excel and Google Sheets

=MID(A2&" "&A2,FIND(" ",A2)+1,LEN(A2))

A2 = data cell

Check below for a detailed explanation with pictures and how to use formulas in Excel and Google Sheets.