Arrange X-Axis Labels on an Excel Box-and-Whisker Chart
Question details
Control the order of category labels on the horizontal axis of an Excel box-and-whisker chart.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A user wants box plot categories to appear in a specific sequence rather than their current order.
- Observed behavior
- The chart displays category labels based on how the source data is arranged.
Identify the source table and check whether each category is organized by column or by row. Keep each category label with its associated values when rearranging the data.
Reorder the source data for a custom label sequence
Use this method when you need the categories in a specific order rather than simply reversed.
Excel box-and-whisker charts generally follow the order of the categories in the source data. Rearrange the complete category groups so their labels and values stay together.
Select the chart and open Chart Design > Select Data to identify the source range and how the categories are grouped.
In the worksheet, move the complete category columns or rows into the desired order. Alternatively, add an order number for each group and use Data > Sort to sort the groups by that sequence.
Return to the chart and inspect the horizontal labels. If the chart does not reflect the new order, use Chart Design > Select Data to check the range or recreate the chart from the rearranged table.

Reverse the category axis order
Use this option when the desired sequence is the exact reverse of the current order.
Work with spreadsheet data in WPS Office
WPS Office is a free, lightweight alternative with a familiar spreadsheet interface and support for Excel formats, making it easy to move between Office files. Use Microsoft Excel for Excel-specific box-and-whisker chart settings.

Frequently Asked Questions
Can I drag individual labels into a new order on an Excel box plot?
The labels generally follow the source data order. Rearrange the category groups in the worksheet, then check the chart's source under Chart Design > Select Data.
How do I reverse all the category labels?
Right-click the horizontal axis, choose Format Axis, and select Categories in reverse order under Axis Options if available.
How can I sort categories in a custom sequence?
Assign an order number to each category group and use Data > Sort to arrange the complete rows or columns by those numbers. Keep helper numbers outside the chart's plotted data.
What if my X-axis needs precise numeric positions?
A box-and-whisker chart uses categories rather than an independently positioned numeric X-axis. An XY scatter chart provides numeric X-axis positioning, but it does not automatically display box-and-whisker summaries.




