Chart & Visualization Issues

Reverse Primary and Secondary Chart Axes in Excel

Muhammad TalhaMuhammad Talha Nov 22, 2026 868 views

Question details

Reverse the horizontal order of an Excel combo chart while keeping series for the same categories aligned.

How to Reverse Primary and Secondary Chart Axes in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
A chart combines columns with a line or XY series and uses primary and secondary axes to display data by year.
Observed behavior
Reversing the primary category axis can leave the other series in its original order, making values from different years appear together.
Before you start

Select the chart and check Chart Design > Change Chart Type > Combo to see whether the second series is a Line or XY (Scatter) series. Note which series uses the secondary axis and identify a few matching years and values to check after making changes.

Solution 1Recommended

Use a Column and Line combo chart with matching category order

Use this option when the second series does not require a numeric XY axis.

A Line series uses categories rather than the numeric X values used by an XY series. If the chart has separate primary and secondary horizontal category axes, check the order on both.

1
Change the chart type

Select the chart, then choose Chart Design > Change Chart Type > Combo. Set the column series to Clustered Column and the other series to Line; keep Secondary Axis selected for the line if it needs a separate vertical scale.

2
Reverse the primary categories

Right-click the primary horizontal axis, choose Format Axis, and under Axis Options select Categories in reverse order.

3
Check the secondary horizontal axis

If the chart has a secondary horizontal axis, select the chart and use Chart Design > Add Chart Element > Axes > Secondary Horizontal to display it. Right-click that axis, choose Format Axis, and select Categories in reverse order if needed to match the primary axis.

4
Check alignment and axis placement

Compare the columns and line points for several years. If a vertical axis moves to the wrong side, select the relevant horizontal axis and adjust Vertical axis crosses under Format Axis > Axis Options.

Use a Column and Line combo chart with matching category order
Line versus XY series: A Line series treats the X-axis entries as categories. Keep an XY series if the horizontal spacing must reflect numeric X values.
Free Microsoft Office alternative

Work with spreadsheets and charts in WPS Office

WPS Office is a free, lightweight alternative for working with spreadsheets in a familiar interface. Open compatible Excel files to review data and charts as you migrate between office suites; it does not repair Excel-specific chart-axis settings.

Review spreadsheet data and charts in WPS SpreadsheetsCompatible with Microsoft Excel formats, including XLS and XLSXFamiliar spreadsheet interface for an easier transitionFree and lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Why does reversing the category axis leave my XY points out of order?

The column series uses a category axis, while an XY series uses a numeric value axis. Display the secondary horizontal axis through Chart Design > Add Chart Element > Axes, then use Format Axis > Values in reverse order on that axis.

How do I show the secondary horizontal axis in Excel?

Select the chart and choose Chart Design > Add Chart Element > Axes > Secondary Horizontal. You can then right-click the displayed axis and choose Format Axis.

Should I use a Line or XY series in my combo chart?

Use a Line series when points should follow equally spaced categories such as years. Use XY (Scatter) when the horizontal positions must reflect numeric X values; its axis may need separate reversal and alignment.

Why did the vertical axis move after I reversed the categories?

Reversing a horizontal axis can change where its vertical axis crosses. Right-click the horizontal axis, choose Format Axis, and adjust Vertical axis crosses under Axis Options.