Flipping Axis in Excel: How to Reverse Chart Order
In this article
To flip an axis in Excel, right-click the axis you want to change, select Format Axis, and check the box for Categories in reverse order (for the horizontal axis) or Values in reverse order (for the vertical axis). This process reverses the sequence of your data points, which is particularly useful for bar charts where you want the top item in your spreadsheet to appear at the top of the chart.
Flipping an axis changes the visual flow of your data without altering the underlying numbers in your cells. This is commonly used to create "inverted" charts or to ensure that a list of categories reads from top-to-bottom rather than bottom-to-top, as Excel's default behavior for bar charts often places the first data row at the bottom of the Y-axis.
What You'll Need
- A computer with Microsoft Excel installed.
- An existing chart (Bar, Column, Line, or Scatter) containing the data you wish to reorder.
Step-by-Step
- Select the Axis: Open your Excel workbook and locate the chart. Click directly on the axis you wish to flip. For example, if you want to reverse the list of names on the left side of a bar chart, click on those names to select the Vertical (Value) Axis.
- Open the Format Menu: Right-click on the selected axis. A context menu will appear; select Format Axis... at the bottom of the list. This will open the Format Axis pane on the right side of your screen.
- Locate Axis Options: In the Format Axis pane, ensure you are on the Axis Options tab (represented by a small green bar chart icon).
- Reverse the Order:
- For Category Axes (Text): Scroll down to the "Axis Options" section and check the box labeled Categories in reverse order.
- For Value Axes (Numbers): Scroll down to the "Axis Options" section and check the box labeled Values in reverse order.
- Adjust the Crossing Point (If Necessary): When you flip an axis, Excel may move the opposite axis to the other side of the chart. For example, flipping the vertical axis might move the horizontal axis to the top. To fix this:
- In the same Format Axis pane, look for the Horizontal axis crosses section.
- Change the selection from "Automatic" to At maximum category (or "At maximum value"). This will push the axis back to the bottom or side where it typically resides.
- Close the Pane: Click the "X" in the top right corner of the Format Axis pane to save your changes and return to your spreadsheet.
Common Mistakes
- Selecting the wrong axis: Users often try to flip the horizontal axis when they actually want to reorder the categories on the vertical axis. Always click the specific labels you want to move.
- Ignoring the "Crossing" point: The most common complaint after flipping an axis is that the other axis "disappeared" or moved to the top of the chart. This isn't a bug; it's how Excel maintains the 0,0 coordinate. You must manually set the axis to cross at the "Maximum" value to return it to the standard position.
- Trying to flip data in the cells: Some users attempt to sort their spreadsheet data in reverse to fix the chart. While this works, it changes your source data. Using the "Reverse Order" setting in the chart tool allows you to keep your data organized logically in the table while displaying it differently in the visual.
Tips
- Use for Ranking: If you are creating a "Top 10" list, flipping the axis is essential. By default, Excel puts the first item (Rank 1) at the bottom of a bar chart. Reversing the axis puts Rank 1 at the top.
- Consistency: If you have multiple charts in one dashboard, ensure you apply the same axis flip settings to all of them to avoid confusing your audience.
- Check your Labels: After flipping an axis, double-check that your axis titles still make sense. You may need to move the title box to align with the new position of the axis.
Troubleshooting
If the "Categories in reverse order" or "Values in reverse order" checkboxes are greyed out or missing, check the following:
- Chart Type: Ensure you are using a standard chart type. Some specialized or legacy chart types have limited axis customization. Try converting the chart to a standard Clustered Bar or Column chart to see if the option appears.
- Selection: Make sure you have actually selected the axis. If you have the entire chart area selected, the Format Axis options will not appear in the side pane. Click specifically on the numbers or text of the axis.
- Data Range: If your axis is based on a complex formula or a dynamic named range that Excel cannot interpret as a standard category, the reverse option may occasionally behave unexpectedly. Try simplifying the data range to see if the option returns.
Frequently Asked Questions
Can I flip the axis on a Pie Chart?
No. Pie charts do not have X or Y axes; they use a single data series represented as slices of a circle. To change the order of slices, you must reorder the data in the source table or change the "Angle of first slice" in the Format Data Series menu.
Does flipping the axis change my data values?
No. Flipping the axis only changes the visual representation (the display order) of the data. The actual numbers and categories in your spreadsheet remain exactly as they were.
Why did my horizontal axis move to the top when I flipped the vertical axis?
Excel keeps the axes intersecting at the zero point. When you reverse the vertical axis, the zero point moves to the top. To fix this, go to Format Axis > Horizontal axis crosses > At maximum category.
Is there a keyboard shortcut to flip the axis?
There is no direct keyboard shortcut to toggle the "Reverse Order" checkbox. You must use the right-click menu or the Chart Design tab to access the Format Axis pane.
Will this work in Excel for Web (Online version)?
Yes, the functionality is available in Excel for the Web, though the menu layout may look slightly different. Look for the "Format" pane when you right-click the axis.