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

DOWNLOAD EXCEL WORKBOOK

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

 

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

 

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

Split Column By Number of Characters Using Power Query

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

You now have your new table with the separated columns!

Split Column By Number of Characters Using Power Query

How to Split Column by Number of Characters in Excel

Split Column By Number of Characters Using Power Query

HELPFUL RESOURCE:

Remove Columns Using Power Query or Get & Transform

 

If you like this Excel tip, please share itEmail this to someone

email

Pin on Pinterest

Pinterest

Share on Facebook

Facebook

Tweet about this on Twitter

Twitter

Share on LinkedIn

Linkedin

Share on Google+

Google+

Related Posts

Inventory Your Files Using Power Query Power Query lets you perform a series of steps to transform your Excel data. One of the possible steps that surprised me was that I could list out the files in my computer!  This is useful if you want to do some analysis on your file list (i.e. finding a file, checking whic...
Data Type Conversions with M in Power Query Power Query lets you perform a series of steps to clean & transform your Excel data. There are times when we want to do things that are not built in the user interface.  This is possible with Power Query's programming language, which is M. One of the unique characterist...
Merge Columns Using Power Query Power Query lets you perform a series of steps to transform your Excel data.  One of the steps it allows you to take is to merge columns easily. Normally I would use the CONCATENATE formula to merge columns together, however a cleaner way is to simply use Power Query for this....
Remove Columns Using Power Query or Get & Tra... 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 remove columns easily. This is helpful when you have columns that you want to eliminate ...