Chart & Visualization Issues

How to Create an Excel Pie Chart from Categories in One Row

Rana GarciaRana Garcia Nov 11, 2026 868 views

Question details

The user needs to create a pie chart from data where category labels and values are spread across a single row, which fails to render correctly.

How to Create an Excel Pie Chart from Categories in One Row
Product
Microsoft Excel
Device & OS
Mac, Web, Windows
Scenario
Creating a pie chart from non-standard data layouts where categories and values are horizontally aligned.
Observed behavior
Excel for Mac or the web may only recognize part of the selection when selecting nonadjacent cells across a single row, failing to generate the correct pie chart.
Before you start

Ensure you have identified which cells contain your category labels and which contain your numerical values before restructuring them into a standard format.

Solution 1Recommended

Reorganize Data into a Two-Column Helper Range

Manually restructure your single-row data into a standard two-column layout which is universally recognized by Excel's chart engine.

A pie chart requires category labels and corresponding values to be arranged as a simple two-column data series. Creating a helper range resolves recognition issues across all platforms.

1
Create a new table area

Select an empty area in your worksheet below your existing data to serve as your helper range.

2
List categories vertically

In the first column of the new range, input or link your category labels, placing one category per row.

3
Add corresponding values

In the second column, input or link the expense values that correspond to each category.

4
Insert the pie chart

Highlight both columns of your newly normalized data range, navigate to the 'Insert' tab, and click the 'Pie Chart' icon to generate your chart.

Reorganize Data into a Two-Column Helper Range
Easy Charting with WPS Office

Create Professional Pie Charts Easily in WPS Spreadsheet

WPS Office provides an intuitive interface for organizing data and generating beautiful pie charts. You can easily transpose rows to columns and insert charts with just a few clicks.

  1. 1. Open your workbook: Launch WPS Spreadsheet and open the file containing your single-row data.
  2. 2. Transpose the data: Select and copy your horizontal data. Right-click an empty cell, select 'Paste Special', check the 'Transpose' option, and click 'OK' to convert it to a vertical layout.
  3. 3. Highlight the range: Select the newly transposed two-column data containing your categories and values.
  4. 4. Insert your chart: Navigate to the 'Insert' tab on the top ribbon, click 'Chart', and select 'Pie Chart' to instantly generate your visualization.
Fully compatible with Microsoft Excel file formats (.xlsx, .xls).Intuitive Paste Special feature to quickly transpose rows into standard column layouts.Rich library of customizable 2D and 3D pie chart templates.Free and lightweight alternative to heavy office suites.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel fail to create a chart from nonadjacent cells in a row?

When selecting disjointed cells horizontally, the charting engine often struggles to determine which values represent categories and which represent data points. A continuous vertical two-column format provides a clear, recognized structure.

Can I use the Paste Special feature to reorganize my data?

Yes, you can copy your horizontal data row, right-click on an empty destination cell, choose 'Paste Special', and select the 'Transpose' checkbox to automatically flip your row data into vertical columns.

Are dynamic array functions available in older versions of Excel?

No, array-shaping functions like TOCOL, TOROW, and CHOOSECOLS are exclusive to newer releases such as Microsoft 365. For older versions, manual reorganization or using the Transpose paste option is recommended.