Pinterest Pixel

Split Column By Number of Characters Using Power Query or Get & Transform

Power Query (in Excel 2010 & 2013) or Get & Transform (in Excel 2016) lets you perform a... read more

Download Excel Workbook
Bryan
Posted on

Overview

Split Column By Number of Characters Using Power Query or Get & Transform | MyExcelOnline Split Column By Number of Characters Using Power Query or Get & Transform | MyExcelOnline

Power Query (in Excel 2010 & 2013) or Get & Transform (in Excel 2016) lets you perform a series of steps to transform your Excel data.

One of the steps it allows you to do is to split column by number of characters easily.

This is helpful when you have columns that you want to split by an equal number of characters, say ID numbers.

Let’s suppose you have the following source data below.  We want to split it by 3 characters so we will have 4 parts for each ID.

Let us get to work!

Split Column By Number of Characters Using Power Query or Get & Transform

Split Column By Number of Characters Using Power Query or Get & Transform | MyExcelOnline

Download excel workbookSplit-Column-By-Number-of-Characters.xlsx

STEP 1: Select your data and turn it into an Excel Table by pressing the shortcut Ctrl + T or by going to Insert > Table

Split Column By Number of Characters Using Power Query or Get & Transform

 

STEP 2: Go to Data > Get & Transform > From Table (Excel 2016) or Power Query > Excel Data > From Table (Excel 2013 & 2010)

Excel 2016:

 Remove Columns Using Power Query or Get & Transform

Excel 2013 & 2010:

Remove Columns Using Power Query or Get & Transform

 

STEP 3: This will open up the Power Query Editor.

Select the column you want to split.

Go to Home > Split Column > By Number of Characters

Split Column By Number of Characters Using Power Query or Get & Transform

 

STEP 4: Select 3 for the Number of characters, Split Repeatedly and click OK.

Split Column By Number of Characters Using Power Query or Get & Transform

STEP 5: Click Close & Load from the Home tab and this will open up a brand new worksheet in your Excel workbook with the updated table.

Split Column By Number of Characters Using Power Query or Get & Transform

You now have your new table with the separated columns!

Split Column By Number of Characters Using Power Query or Get & Transform

How to Split Column by Number of Characters in Excel

 

HELPFUL RESOURCE:

Remove Columns Using Power Query or Get & Transform

 

If you like this Excel tip, please share it
Split Column By Number of Characters Using Power Query or Get & Transform | MyExcelOnline Split Column By Number of Characters Using Power Query or Get & Transform | MyExcelOnline
Split Column By Number of Characters Using Power Query or Get & Transform | MyExcelOnline
Bryan

Bryan Hong is an IT Software Developer for more than 10 years and has the following certifications: Microsoft Certified Professional Developer (MCPD): Web Developer, Microsoft Certified Technology Specialist (MCTS): Windows Applications, Microsoft Certified Systems Engineer (MCSE) and Microsoft Certified Systems Administrator (MCSA).

He is also an Amazon #1 bestselling author of 4 Microsoft Excel books and a teacher of Microsoft Excel & Office at the MyExecelOnline Academy Online Course.

See also  Replicating Excel's FIND Function with M in Power Query

Get Video Training

Advance your Microsoft Excel & Office Skills with the MyExcelOnline Academy!

Dramatically Reduce Repetition, Stress, and Overtime!
Exponentially Increase Your Chances of a Promotion, Pay Raise or New Job!

Learn in as little as 5 minutes a day or on your schedule.

Learn More!

Share to...