Swap Last Name, First Name into First Last
An export lists people as "Last, First" — "Torres, Ana" — but your mail merge, CRM, or report needs the natural "Ana Torres" order.
Excel & Google Sheets
This formula works in both Excel and Google Sheets.
How it works
The comma's position, found once by FIND, splits the cell into two halves. MID starts 2 characters after the comma — skipping the comma itself and the space that follows — and the 99 just means "take everything to the end" (any number longer than the name works). LEFT takes the characters before the comma: the position minus 1 excludes the comma itself. The & operator glues the two halves back together with a space between them, so "Torres, Ana" becomes "Ana Torres". Once the formulas are filled down, copy the column and Paste Special → Values to replace the originals.
When to use it
Use it on HR exports, payroll files, and directory dumps that arrive "Last, First" when your template, badge printer, or email tool expects "First Last."
Common mistakes
Did this formula help?
Engine-verified against the sample data aboveDownload the proof sheet (.xlsx)Last reviewed 2026-07-09