Yes. To manually reorder categories in an Excel PivotChart, drag the corresponding item in its associated PivotTable; dragging a chart bar or category label does not change the PivotChart’s item order. The chart follows the PivotTable, so arrange the field items there and the chart updates to match.
How PivotChart sorting works
A PivotChart is connected to a PivotTable, and its categories and series come from the fields placed in that table’s Rows, Columns, and Values areas. For a column chart with Product in Rows and Sales in Values, the PivotTable’s product order determines the chart’s category order. If Region is in Columns, its item order determines the order of the chart’s series.
This link is useful: one manual change can update both the table and the chart, keeping their order consistent. It also explains a common point of confusion. A PivotChart looks like a regular chart, but its displayed items are controlled by the PivotTable rather than by independently rearranging the plotted points.
In Excel for Microsoft 365 on Windows, select the PivotTable to reveal its contextual ribbon tabs, such as PivotTable Analyze and Design. Selecting the chart reveals PivotChart-related controls. The exact tab labels and available commands can vary slightly across Excel versions, but the underlying relationship remains the same.
Manually reorder items in the PivotTable
First locate the PivotTable that supplies the chart. If it is hidden or on another worksheet, use the workbook’s sheet tabs to find it. Then find the row or column field whose items appear as the chart categories or series. For example, to change the order of departments along a chart’s horizontal axis, rearrange the Department items in the PivotTable.
- Click an item label in the relevant row or column field, such as a department or product name.
- Right-click the label and choose Sort > More Sort Options. In the dialog, choose Manual if an automatic ascending or descending sort is active. The wording or dialog layout can differ slightly by Excel build.
- Move the pointer to the edge of the item’s cell until the move pointer appears, then drag the item to its intended position. Watch the insertion indicator so you can see where Excel will place it.
- Release the mouse button. Check the PivotTable order, then check the PivotChart to confirm that its categories or series have changed accordingly.
You can also try dragging an item directly if manual ordering is already available. If Excel keeps sorting it back into alphabetical or value order, use More Sort Options to check that Manual is selected and that an automatic sort is not being reapplied.
For instance, a sales chart might list North, South, East, West alphabetically, while a presentation needs the geographic sequence West, North, East, South. Drag the region labels into that order in the PivotTable. The chart should follow without changing the underlying sales values or the source data.
What changes in the chart—and what does not
Reordering row-field items changes the category sequence when that field supplies the chart’s category axis. Reordering column-field items changes the sequence of series when that field supplies the chart’s legend. The chart’s values are still calculated from the PivotTable; manual sorting changes their display order, not the calculations or the source records.
Some chart types can make the visual direction look unexpected. In a bar chart, the first category may appear at the bottom rather than at the top, depending on the axis settings. The PivotTable order can be correct even if the visual direction differs from what you expected. Axis options that reverse the category display affect how the chart is drawn; they do not necessarily change the item order in the PivotTable.
Likewise, moving a chart object, resizing it, or changing its legend position does not sort its PivotChart items. Those actions change the chart’s appearance or placement, not the order of the field items that feed it.
Manual order compared with other sorting options
Manual order is best when you need a deliberate sequence that has meaning beyond alphabetical order or size: for example, stages in a process, months in a nonstandard fiscal year, or products arranged in a preferred presentation order. It lets you place the items where they make sense to your audience.
Automatic sorting is a better fit when the order should be calculated consistently. A text field can be sorted alphabetically, while a value-based sort can rank items by a measure such as total sales. These approaches are useful when the data changes and the intended order should update according to the new labels or values. Manual placement, by contrast, is a chosen sequence rather than a ranking rule.
There is also a difference between sorting a field and changing the source data. Manual PivotTable sorting does not rearrange the original rows in the worksheet or alter the source table. It changes the order in which grouped items are displayed in the PivotTable and its connected PivotChart.
Why dragging may not work
- The field is being sorted automatically. Reopen Sort > More Sort Options and check whether Manual is selected. An automatic sort by label or value can override the sequence you want.
- You are dragging the chart instead of the table item. Dragging a bar, point, or axis label in the PivotChart is not the way to reorder its categories. Make the change in the corresponding PivotTable.
- You selected a value rather than an item label. Click a label in the row or column field. A number in the Values area represents a calculation, not a category to position.
- The wrong field controls the chart dimension. Check the PivotTable field layout. A chart category may come from a different row field than the one you are trying to move, especially when the table has nested fields.
- The visual axis runs in the opposite direction. Inspect the chart’s axis display settings before concluding that the manual order failed. Horizontal bar charts can display the first item at the bottom.
- A refresh changes what you see. Refreshing updates the PivotTable from its source. Existing manual order may remain, but newly appearing items or automatic sort settings can affect the displayed sequence. Recheck the order after refresh.
If you are working in Excel for the web and cannot find the same drag or sort controls, open the workbook in the desktop app and make the change there. Excel interfaces and PivotTable capabilities can differ by platform and update, so do not assume that a missing web control means the chart itself can be manually sorted by dragging.
Alternatives when you need a different order
If the desired sequence follows a stable business rule, consider whether an automatic sort or a custom list is a better fit than repeatedly dragging items. Excel can use custom lists for familiar sequences, such as weekdays or months, in supported sorting situations. A custom list can be helpful when the same order is used in multiple PivotTables, but confirm that it produces the intended result for the specific field and workbook.
Another option is to add an order column to the source data, with a rank for each category, and use that information to guide the PivotTable’s arrangement where appropriate. For example, a process-stage table could assign Intake = 1, Review = 2, Approval = 3, and Complete = 4. This makes the desired logic explicit in the data, though the rank field may need to be included in or used to manage the PivotTable layout. It is not the same as dragging chart items, and the best setup depends on the report.
If you need chart categories that are independent of a PivotTable, a regular chart based on a separately arranged summary table may offer more direct control over the source order. The trade-off is that the summary and chart may need extra maintenance when the underlying data changes. Use a PivotChart when its connection to PivotTable filtering and summarization matters; use a regular chart when independent chart-source control is more important.
Frequently Asked Questions
Can I drag bars to sort an Excel PivotChart?
No. Drag the matching item in the PivotTable instead. The PivotChart follows the PivotTable’s field-item order.
How do I manually sort PivotTable items?
Right-click an item label, choose Sort > More Sort Options, select Manual if needed, and drag the label to its new position.
Will a PivotChart update when I reorder the PivotTable?
Yes. Its category or series order follows the corresponding PivotTable field, so the chart updates when that field’s items are rearranged.
Can I sort PivotChart categories by sales value instead?
Use a value-based sort on the relevant PivotTable field. That sorts according to the chosen measure rather than letting you set an arbitrary sequence by dragging.
Does manual sorting change my source data?
No. It changes the displayed order of items in the PivotTable and connected PivotChart, not the order of the original worksheet records.
Related
- Excel Cell Dropdown: Create a Pick List and Use It
- Excel Consolidate Rows With the Same Value
- Excel Consolidate Lists With Duplicates: Keep or Remove?
Try it: the Percentage Formula Generator: percent of, percent change, increase and decrease, with the formula.
More in Charts & pivot tables
- Wedding Seating Chart in Google Sheets: A Practical GuideYes. You can make a wedding seating chart in Google Sheets by keeping guest details and table assignments…
- Excel Chart Shortcut: Create a Chart in Seconds on WindowsIn Excel for Microsoft 365 on Windows, select the data you want to chart and press Alt+F1 to…
- How to Make a Graph in Google Sheets on a ComputerTo make a graph in Google Sheets on a computer, arrange your information in labeled rows or columns,…
- Excel Bar Graph Too Skinny? Fix Bar Width and SpacingIf an Excel bar graph looks too skinny, select a bar, open Format Data Series, and reduce Gap…
- How to Format Data for a Combo Chart in ExcelTo format data for an Excel combo chart, put category labels in the first column, give each data…
- Excel Histogram Bin Number: How to Choose ItIn an Excel histogram, the bin number is the number of intervals used to group your numeric data.…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.