Written by Allen Wyatt (last updated June 27, 2022)
This tip applies to Excel 97, 2000, 2002, and 2003
You may have a worksheet containing many cells with names that are in LastName, FirstName MI format. A common example of this would be an Excel worksheet designed to work as an expense account reporting form. You may want to convert these employee names into standard format, i.e. FirstName MI LastName. Performing this operation on more than a handful of cells can become quite cumbersome.
To make the conversion job easier, you can use a handy formula that rearranges the parts of the name for you. Assume that cell A1 contains the name Doe, Jane Q. and you want the conversion (Jane Q. Doe) to appear in cell B1. Place the following formula in B1:
=RIGHT(A1,LEN(A1)-LEN(LEFT(A1,FIND(",",A1) -1))-2) & " " & LEFT(A1,FIND(",",A1)-1)
The formula works by breaking the string based on the placement of the comma. The formula will also work with suffixes and multiple middle initials as long as there is one and only one comma present in the source cell.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2168) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Reordering Last Name and First Name.
Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!
You may want to use Excel to display dates using a different language than your normal one. There are a couple of ways ...
Discover MoreDo you want Excel to take the case of your text into account when it does comparisons in a formula? The IF statement ...
Discover MoreNeed to come up with a formula for combining lots of text from various cells? Here's a full discussion on how you can do ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2019-01-07 10:32:25
Jaime
Hello -
MC KEEN MICHELE D
If I need to rearrange this name to show Michele D Mc Keen, how would I do it since it has "mc"?
2017-12-23 05:25:16
Rick Rothstein
Here is a shorter formula which will produce the same results as the one shown in this article...
=MID(A1&" "&A1,FIND(" ",A1)+1,LEN(A1)-1)
Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2025 Sharon Parq Associates, Inc.
Comments