Split Cells Chart Values in Excel
In this article
Yes, you can split the values that feed a chart in Excel, and the method depends on whether the values are in one cell (like "10,20,30") or spread across multiple cells. The most direct approach is to use the Text to Columns tool to split the cell contents into separate cells, then rebuild or adjust the chart's data range. If your chart is already created, you'll need to update the chart's data source to reference the new cells. This guide covers both scenarios, plus how to split a chart's data series into separate series for better visualization.
What You'll Need
- Excel 2016 or later (the steps work in earlier versions too, but menu labels may differ slightly)
- A worksheet with a chart and the data cells you want to split
- Basic familiarity with selecting ranges and using the ribbon
Step-by-Step
Method 1: Split Cell Contents Before Creating the Chart
- Select the column or cells that contain the values you want to split. For example, if column A has "10,20,30" in a single cell, select that cell or the entire column.
- Go to the Data tab and click Text to Columns (in the Data Tools group).
- Choose Delimited and click Next.
- Select the delimiter that matches your data: comma, semicolon, space, tab, or other. For "10,20,30", choose Comma. Click Next.
- Choose the destination cell (by default it's the first cell of the selection). Click Finish. Excel will split the values into separate cells across columns.
- Now create or update your chart: select the new range (including headers if any), go to Insert > Charts, and pick your chart type. The chart will use the split values as separate data points or series.
Method 2: Split an Existing Chart's Data Series
- Click on the chart to select it. The chart tools appear in the ribbon (Design, Layout, Format).
- Right-click the chart and choose Select Data (or go to the Design tab > Select Data).
- In the Select Data Source dialog, you'll see the legend entries (series) and horizontal axis labels.
- To split one series into multiple series, you need the underlying data in separate cells. If the values are in one cell, first use Text to Columns as described in Method 1 to split them into separate cells.
- Back in the Select Data Source dialog, click Add to add a new series. For Series name, select a cell with a label. For Series values, select the range containing the split values for that series.
- Repeat for each series you want. Remove the original series by selecting it and clicking Remove.
- Click OK to apply the changes. The chart now displays the split values as separate series.
Method 3: Split a Single Data Series into Multiple Series by Category
- If you have a table with categories in one column and values in another, and you want to split the series by a grouping column (e.g., year, region), you can use a pivot chart or simply create separate series from filtered ranges.
- For a quick split, copy the data for each category into separate columns (or use formulas like
=IF(region="North", value, "")). - Select the new multi-column range and insert a chart. Excel will treat each column as a separate series.
- If you prefer a pivot chart: select your data, go to Insert > PivotChart, drag the grouping field to the Legend area and the values to the Values area. This automatically splits series.
Common Mistakes
- Not selecting the entire range before using Text to Columns – this can leave some cells unsplit.
- Choosing the wrong delimiter – if your data uses semicolons but you pick comma, nothing splits.
- Overwriting data – Text to Columns overwrites the original cells. If you need the original, copy the data to another column first.
- Forgetting to update the chart data source after splitting – the chart still points to the old range.
- Mixing data types – if some cells contain text and others numbers, the split may not work as expected.
Tips
- Use the Flash Fill feature (Data tab > Flash Fill) as an alternative to Text to Columns for simple splits – type the first split value manually, then press Ctrl+E to auto-fill the rest.
- If your data has a consistent delimiter, consider using Power Query (Get & Transform) to split columns – it's more flexible and doesn't overwrite original data.
- When adding series manually, use the Series name field to reference a header cell so the legend updates automatically.
- For charts with many series, consider using a pivot chart – it's easier to manage and update.
- Always double-check the chart's data range after splitting – go to Select Data and verify the ranges are correct.
Troubleshooting
- Text to Columns is grayed out – Make sure you have selected at least one cell in the data range. Also, if the cells are merged, unmerge them first.
- The chart doesn't update after splitting – Right-click the chart and choose Select Data; then edit the series values to point to the new split cells. Alternatively, delete the chart and recreate it from the new data range.
- Values split incorrectly (e.g., dates change) – In the Text to Columns wizard, step 3, set the Column data format to Text for columns that contain numbers with leading zeros or dates you want to keep as text.
- Chart shows blank series – This often happens when the series range includes empty cells. Adjust the range to exclude blanks, or use Select Data > Hidden and Empty Cells to set how to handle them.
- Split values appear in wrong columns – In the Text to Columns wizard, pay attention to the Destination field – set it to the cell where you want the first split value to appear.
Frequently Asked Questions
Can I split chart values without altering the original data?
Yes. Use a formula like =LEFT(A1,FIND(",",A1)-1) to extract the first value, or use Flash Fill to create new columns. Then update the chart's data source to reference the new columns.
What if my values are separated by a slash or a pipe?
In Text to Columns, choose Delimited and then select Other in the delimiter options, then type the character (e.g., / or |).
How do I split a chart's single series into multiple series automatically?
Use a pivot chart. Select your data, insert a PivotChart, and drag the grouping field to the Legend area. Excel will create separate series for each group.
Why does my chart show one series instead of many after splitting?
Because the chart still references the original single range. Use Select Data to add the new split ranges as separate series, and remove the old one.
Can I split values in a chart's data labels?
No, data labels are just text. You need to split the underlying cell values first, then the labels will reflect the split values if you set the label to show the cell value.
Does this work in Excel for Mac?
Yes, the steps are essentially the same, but the menu paths may differ slightly. On Mac, Text to Columns is under Data > Text to Columns, and Select Data is under the Chart Design tab.