The fastest way to reverse name order

To reverse a name from "First Last" to "Last, First" in Google Sheets, use the CONCATENATE function or the ampersand (&) operator to rearrange the text pieces. If your names are in a single column, you split them into parts, reverse the order, and combine them back. If they are already split into separate columns for first and last names, you simply swap which column comes first in your formula.

The method you choose depends on whether your names are stored as one piece of text or split across multiple columns. A single formula in a new column does the work without changing your original data.

Key Takeaways

  • Use CONCATENATE or the & operator to combine text pieces in a new order without altering your original names.
  • If names are in one column, use SPLIT to break them into first and last, then recombine them in reverse order.
  • If first and last names are already in separate columns, simply reference them in the opposite order in your formula.
  • Copy your formula down the column to reverse all names at once, then copy and paste as values to replace the original column if needed.

Reversing names already split into two columns

If your spreadsheet has first names in column A and last names in column B, the reversal is straightforward. Click on a new column (such as column C) and enter a formula that puts the last name first, followed by a comma and space, then the first name.

The formula looks like this: =B2&", "&A2. This takes the value from B2 (last name), adds a comma and space, then adds the value from A2 (first name). Press Enter, and the reversed name appears in column C. Click the small square at the bottom right of the cell and drag down to copy the formula to all rows with data.

If you want the result without a comma, use =B2&" "&A2 instead. Both methods work equally well — the comma is a formatting choice.

Reversing names stored in a single column

When all names are in one column as "First Last", you need to split the text first. Google Sheets has a SPLIT function that can do this, but it creates results across multiple columns. A more practical approach is to use a combination of FIND, LEFT, RIGHT, and MID functions to locate the space and extract each part.

In a new column, use this formula: =TRIM(RIGHT(SUBSTITUTE(A2," ",REPT(" ",100)),100))&", "&TRIM(LEFT(A2,FIND(" ",A2)-1)). This formula finds the space in the name, extracts everything after it as the last name, extracts everything before it as the first name, and combines them with a comma in between.

Paste this formula into a new column and drag it down to all rows. The results will show "Last, First" format. If the formula seems complex, an alternative is to use the Data menu's "Text to Columns" feature to split the names into two columns first, then use the simpler two-column method described above.

Using SPLIT to separate names before reversing

The SPLIT function breaks text at a specific character — in this case, the space between first and last names. In a new area of your spreadsheet, use =SPLIT(A2," ") where A2 contains the full name. This creates two columns: one with the first name and one with the last name.

Once split, you can use the two-column reversal method described earlier. However, SPLIT creates results that spread across columns, which can overwrite data if you are not careful. Use it in an empty area, or insert new columns to make room. After reversing the names, you can copy the results and paste them back into your original location if needed.

Replacing the original column with reversed names

After you have created reversed names in a new column using a formula, you may want to replace your original names with the reversed versions. Do not simply delete the original column — this will break your formula. Instead, copy the reversed names and paste them as values.

Click the column header of your reversed names to select the entire column. Press Ctrl+C (or Cmd+C on Mac) to copy. Click on the original name column, then right-click and choose "Paste special" and then "Values only". This replaces the original names with the reversed text. Now you can delete the formula column if you no longer need it.

Handling names with middle initials or suffixes

Names with middle initials or suffixes like "Jr." or "III" complicate reversal because a simple space-based split does not know which part is which. If your data includes these, decide whether you want to keep them at the end or move them with the last name.

For most cases, keeping the suffix with the last name works best. The two-column method (if your data is already split) handles this naturally — just include the suffix as part of the last name column. If names are in one column and include suffixes, the SPLIT and formula methods will treat the suffix as a separate piece, so you may need to manually adjust a few entries or create a more complex formula that recognizes common suffixes.

Frequently Asked Questions

Can I reverse names without creating a new column?

Not directly — formulas in Google Sheets create results in a cell, so you need at least one new column to hold the reversed names. However, once you have the reversed names, you can copy them and paste as values over your original column, then delete the helper column. This gives the appearance of reversing in place.

What if some names have only one word?

Single-word entries (like "Madonna" or "Prince") will cause errors in formulas that look for a space. Test your formula on a few rows first. If you have many single-word names, add an IF statement to check whether a space exists: =IF(ISERROR(FIND(" ",A2)),A2,TRIM(RIGHT(SUBSTITUTE(A2," ",REPT(" ",100)),100))&", "&TRIM(LEFT(A2,FIND(" ",A2)-1))). This leaves single-word names unchanged.

How do I undo a reversal if I made a mistake?

If you pasted reversed names as values over your original column, use Ctrl+Z (or Cmd+Z on Mac) to undo immediately. If you closed the file, the original data is lost. Always keep a backup or work in a copy of your spreadsheet when making large changes.

Can I reverse names in bulk across multiple sheets?

You can copy a formula to multiple sheets, but you must do it sheet by sheet. Create the reversal formula in one sheet, copy it, then go to each other sheet and paste it in the same location. Google Sheets does not have a built-in way to run a formula across multiple sheets at once.