From the course: Excel: Power Query for Beginners

Unlock this course with a free trial

Join today to access over 24,800 courses taught by industry experts.

Splitting columns

Splitting columns

- [Narrator] So often, you'll get data where people's first and last names are both within one column. This can be problematic if you need to take this data to another mailing program that generates labels or envelopes. So what we need to do in this situation is we need to split this column into two, one column for the first name and one for the last name. And we're going to do that with Power Query. I've got the 02_03 file open. And first, I recommend closing this pane if it's open, just to give yourself some more room. And let's split that column. We're going to go to Data, and we're going to choose Get Data, Launch Power Query Editor. I'll select the Contact Name column, and we'll do Split Column by Delimiter. We're going to specify a space. It looks like Power Query auto-detected that there were spaces here, so it shows space for me, which is great. But there are other options too, in case you need them. And I'm going to split at the left-most delimiter, the first space in the…

Contents