






 |
 |
Often in Excel one gets name data all in one
cell where ideally one wants the first and last name in separate cells.
Even if it's only a few records there's a quick and dirty way of
converting them in place if it's in the form of "Last, First".
- Create a column to the right of the name column for the first name.
You can rearrange later.
- Highlight the range of name cells
- Use the Find & Replace command (CTRL+H) and in the
Find what box type ", ". That's a comma and a space. In the
Replace With box type ",". That's a comma only. Then click
the Replace All button. Since you have it highlighted it will be
limited to the highlighted range.
- With the range still selected look under the data menu and select
the Text to Columns item.
- In the first dialog box choose Delimited and click Next .
- In the next dialog box choose only the comma as a delimiter
and hit the Finish button. This will blow all the first names
over into the next column.
The reason #3 is important is subtle and it often gets missed. If you
don't do it the first name column may look OK but there is actually a
space in front of all the names. Most times this isn't important but as we
rely more an more on automation a computer sees " Fred" and something
different from "Fred" and formulas, macros or other elements may not work
correctly. |
 |