How to split a column in two?

EduPAz

Board Regular
Joined
Mar 18, 2017
Messages
69
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
Hi,

I have in column D a list of employees names and last names:

Mark Jones
Tom Smith
Robert Brown Lewis

I need to split the names and last names and create two columns:
Names
Last names
Mark
Jones
Tom
Smith
Robert
Brown Lewis

<tbody>
</tbody>

Can someone please help me?

Thanks,

Edu
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
In the case of "Robert Brown Lewis", you are taking just "Robert" for first name, but then both "Brown" and "Lewis" for Last names.
But what if you had something like "Mary Ann Cooper", where they have two words in the first name, and one only for the Last name?

The point is, if you have more than two words, Excel cannot really tell which should have two words, and which should have one.
It is very literal, and can only perform the exact rules that you set up. And it isn't really possible to come up with any rule that will handle every case perfectly.

If it was me, I would probably use "Text to Columns" to split the data every time it finds a space. So some entries may have 3 or 4 columns.
I would then manually fix/clean-up the ones with more than two columns after the fact.
 
Upvote 0

Forum statistics

Threads
1,215,418
Messages
6,124,793
Members
449,189
Latest member
kristinh

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top