Data Import & Export

How to Split Comma-Separated Excel Data into Five Cells

Natalie TaylorNatalie Taylor Oct 29, 2026 871 views

Question details

The user needs to separate comma-delimited string values into exactly five individual columns while ensuring that no text values are broken mid-word and that each cell strictly adheres to a 60-character limit.

How to Split Comma-Separated Excel Data into Five Cells
Product
Excel
Device & OS
not provided
Scenario
Data cleaning and formatting where raw, comma-separated exports need to be divided into specific columnar layouts with strict character-length validations.
Observed behavior
The data currently resides in a single cell or column, and standard splitting methods might exceed the 60-character cell restriction or inadvertently split complete words.
Before you start

Ensure you have at least five empty columns adjacent to your target data to prevent overwriting existing information during the split process.

Solution 1Recommended

Use Power Query to Split and Filter by Character Limit

Power Query is the most robust method for this task, allowing you to split values by commas, evaluate string lengths, and load exactly five columns of data dynamically.

By utilizing Power Query, you can create a repeatable process that splits strings precisely at the commas. It allows for advanced conditional logic, ensuring the character limit is checked before data is loaded back into the worksheet.

1
Import Data into Power Query

Select your data range, navigate to the 'Data' tab on the ribbon, and click 'From Table/Range' to open the Power Query Editor.

2
Split Column by Delimiter

Right-click the column header, select 'Split Column', and choose 'By Delimiter'. Select 'Comma' as the delimiter and choose to split into 'Columns'.

3
Apply Length Validations

Go to 'Add Column' > 'Custom Column' and use the Text.Length() function to evaluate the character count of each split segment to ensure it is under 60 characters.

4
Retain Five Columns and Load

Remove any excess columns beyond the first five. Click 'Close & Load' from the Home tab to output the formatted, split data into your spreadsheet.

Use Power Query to Split and Filter by Character Limit
Query Refresh: Once your Power Query steps are configured, you can simply click 'Refresh' on the Data tab whenever you add new comma-separated data to your source table.
Advanced Data Formatting

Split and Manage Complex Data Easily in WPS Spreadsheet

WPS Spreadsheet offers powerful built-in tools like Text to Columns and extensive formula support, making it simple to split comma-separated text into exact columns and manage character limitations. It's a completely free, highly compatible alternative for data processing.

  1. 1. Open Your Data: Launch WPS Spreadsheet and open the file containing your comma-separated values.
  2. 2. Run Text to Columns: Highlight the target column, navigate to 'Data' > 'Text to Columns', and select 'Comma' as your delimiter.
  3. 3. Validate with Formulas: Use the =LEN() formula on the split cells to easily confirm none of your separated values exceed the 60-character limit.
Fully compatible with Microsoft Excel formats (.xls, .xlsx, .csv).Intuitive Text to Columns wizard for instant delimiter-based splitting.Advanced text formulas like LEN, LEFT, and RIGHT readily available.Lightweight architecture handles large dataset formatting smoothly.
microsoft office alternative - wps office

Frequently Asked Questions

Will splitting by comma cut off words in my data?

No. When you use the comma delimiter in Power Query or Text to Columns, the software only divides the string exactly where the comma is located, keeping the surrounding words perfectly intact.

What happens if my data splits into more than five columns?

If you are using Text to Columns, it will generate as many columns as there are commas. You will need to manually delete the 6th column and beyond. In Power Query, you can explicitly configure the tool to discard extra columns.

How can I combine the text back together later?

You can merge split columns back into a single string by using the CONCATENATE function or the '&' symbol, optionally adding commas back in by typing "," within the formula.