We're splitting up

It’s a bad day in spreadsheet land when you have to split your data into columns before you start analyzing. But Excel’s got a new function called TEXTSPLIT that makes splitting text into multiple columns simple and can be used to automate Excel’s “Text to Columns” data tool.

To use the TEXTSPLIT function, select the cell containing the text you want to split as the text argument and enter the character that defines where to split the text as the col_delimiter. Take a look at my example above. I have the first, middle, and last name in one cell, and I want to split the full name into three separate columns. I selected the cell with the full name as the text argument and entered a space (“ ”) as the col_delimiter because I want to split the text in every space. You can also input multiple delimiters separated by a comma as long as you enter them in curly brackets (ex. {“ ”,“-”, “.”}).

The TEXTSPLIT function also has four other optional arguments that might be beneficial when splitting text. The first is row_delimiter, an argument used if you want to separate text into rows instead of columns. The second is ignore_empty, which tells the function whether or not to ignore empty cells. The third is match_mode, which can set the search for a case-sensitive delimiter. And lastly, pad_with determines the value used to pad missing values in 2D arrays.

Related Video

Back to blog

Meet Emma

Emma is the founder of Excel Dictionary, your ultimate source for impactful, digestible Excel tips and tricks.  After graduating from The Ohio State University in 2019 with a degree in Actuarial Science, Emma began her professional career as an actuary, just in time for COVID to hit.  New to the industry, new to the company, adjusting to a new WFH environment, and new to Excel, Emma quickly realized how overwhelming those Excel projects could be and didn’t know where to turn for help – so she taught herself.

Emma created Excel Dictionary to help others avoid Excel overwhelm and to be the coworker that you can turn to.  She was recently awarded the Microsoft MVP award and has built a community of over 5 million people across the globe! Join her across all social channels to learn quick, actionable skills that will make you more efficient, comfortable, and confident in your daily work!

Follow Emma