Changing your chart's axis in Excel
When you build a chart in Excel, the program sets the axis scale automatically — but that scale often doesn't show your data the way you need it. You can change the minimum and maximum values, adjust the interval between tick marks, swap which axis is which, or flip the direction a scale runs. The steps differ slightly depending on whether you're working with a column chart, line chart, scatter plot, or another type, but the core process is the same: right-click the axis itself and open the Format Axis panel.
The most common reason to change an axis is to zoom in on a narrow range of values (so small differences become visible) or to start the scale at zero instead of letting Excel pick a starting point. You might also need to change axis labels if your data uses abbreviations or codes that need explanation, or swap the axes entirely if you realize you charted your data backwards.
Key Takeaways
- Right-click directly on the axis line or numbers to open the Format Axis panel, where you can set minimum and maximum values, change the interval between gridlines, and adjust number formatting.
- To change what appears on the horizontal axis (the category labels), edit your source data range or use the Select Data option from the Chart Design tab.
- Swapping the axes entirely — so rows become columns and columns become rows — requires switching your data range in the Select Data dialog, not editing the axis itself.
- If your axis shows dates, times, or currency, you can format how those values display without changing the underlying numbers.
Adjusting the scale (minimum, maximum, and intervals)
The scale is the range of numbers that runs along an axis, plus the spacing between the labeled tick marks. To change it, click your chart to select it, then right-click the axis you want to modify — usually the vertical axis on a column or bar chart, or the horizontal axis on a scatter plot. A context menu appears; click Format Axis.
The Format Axis panel opens on the right side of your screen. Click the Axis Options tab (it looks like a bar chart icon). You'll see fields for Minimum, Maximum, and Major unit (the spacing between labeled tick marks). By default, all three are set to Auto, meaning Excel decides. Change any of these to a fixed number by clicking the field, clearing "Auto", and typing a value. For example, if your data ranges from 50 to 150 but you want to show 0 to 200 for context, set Minimum to 0 and Maximum to 200. If you want gridlines every 25 units instead of every 50, set Major unit to 25.
Click outside the panel or press Enter to explore the change. Your chart updates when ready. If the result doesn't look right, return to the Format Axis panel and adjust again — there's no penalty for experimenting.
Changing the axis labels (category names)
The horizontal axis on a column chart typically shows category labels — month names, product names, region codes, or whatever identifies each column. These labels come from your source data, not from the axis itself. To change them, you have two routes: edit the data range, or use the Select Data dialog.
The quickest method is to go back to your spreadsheet and edit the cells that feed the chart. If your chart shows "Q1", "Q2", "Q3" but you want "January–March", "April–June", "July–September", change those cells directly. The chart updates automatically because it's linked to the source data.
If you want to change the labels without touching the original data, click the chart, then click the Chart Design tab in the ribbon. Click Select Data. The Select Data Source dialog opens. On the left side under Legend Entries (Series), you'll see your data series listed. On the right side under Horizontal (Category) Axis Labels, click Edit. A small dialog appears asking you to select the range of cells containing the new labels. Highlight those cells in your spreadsheet and click OK. The chart's horizontal axis now shows those labels instead.
Swapping axes (transposing rows and columns)
Sometimes you realize you charted your data backwards — what should be on the horizontal axis is on the vertical axis, and vice versa. Rather than rebuilding the chart, you can swap the axes by changing your data range.
Click the chart, then click the Chart Design tab and select Select Data. The Select Data Source dialog opens. Look at the current data range shown at the top — it might say something like $A$1:$B$5. This range tells Excel which cells to pull data from. To swap rows and columns, you need to tell Excel to read the data differently. Unfortunately, Excel doesn't have a single "transpose" button in this dialog. Instead, close this dialog and try a different approach: right-click the chart, click Change Chart Type, and look for an option to switch the data orientation. Some chart types (like bar charts) automatically swap the axes compared to column charts, so changing the type can achieve the same effect.
If neither of those works, the most reliable method is to create a transposed copy of your data in a new area of the spreadsheet, then point the chart to that copy. Select your original data, copy it, right-click an empty area, and click Paste Special. Check the Transpose box and click OK. Now edit the chart's data range to point to this transposed copy instead of the original.
Formatting axis numbers and dates
If your axis shows numbers, dates, times, or currency, you can change how they display without changing the underlying values. Right-click the axis and click Format Axis. Click the Number tab. You'll see a list of categories on the left — Number, Currency, Date, Time, Percentage, and others.
Click the category that matches your data. For a currency axis, you can choose the symbol ($ or €, for example) and how many decimal places to show. For a date axis, you can pick a format like "3/14/2024" or "Mar-24" or "March 2024". For a number axis, you can set decimal places and choose whether to show a thousands separator. The preview at the bottom shows how your axis will look. Once you're satisfied, click OK.
Reversing the axis direction
By default, axes run in a standard direction: the vertical axis increases from bottom to top, and the horizontal axis increases from left to right. You can reverse either direction if your data or presentation requires it. Right-click the axis and click Format Axis. In the Axis Options tab, scroll down until you see Axis position or Categories in reverse order (the exact label depends on your Excel version). Check the box to reverse the direction. The axis now runs the opposite way.
This is useful if you're charting data that naturally runs backwards — for example, if you're showing depth underwater or altitude above sea level, reversing the vertical axis can make the chart more intuitive to read.
Moving the axis to a different position
By default, the vertical axis appears on the left side of a column chart and the horizontal axis appears at the bottom. You can move either axis to the opposite side. Right-click the axis and click Format Axis. In the Axis Options tab, look for Axis position or Axis crosses at. You'll see options like Low (left or bottom), High (right or top), or a specific value. Select High to move the axis to the opposite side, or enter a number if you want the axis to cross at a specific point on the other axis (useful for charts that include zero or negative values).
Moving an axis is especially helpful when you're creating a chart that compares positive and negative values, or when you want the axis labels on the right or top to match the layout of another chart nearby.
Frequently Asked Questions
Why does my axis show weird numbers like 1E+06 or scientific notation?
Excel switches to scientific notation when numbers are very large or very small and the axis isn't wide enough to display them normally. Right-click the axis, click Format Axis, go to the Number tab, and change the category from "Scientific" to "Number". You can also widen the chart itself to give the axis more room.
How do I add a title to my axis?
Click the chart, then click the Chart Design tab. Click Add Chart Element, hover over Axis Titles, and select the axis you want to label. A text box appears on the axis; type your title. You can format the text by right-clicking it and choosing font, size, and color options.
Can I make the axis labels diagonal or vertical instead of horizontal?
Yes. Right-click the axis labels (not the axis line itself), click Format Axis Labels, and look for Text direction or Alignment. You can rotate the text to any angle, which is helpful when category names are long and overlap.
What if I want different scales on two different axes in the same chart?
This is possible with a combination chart (one that mixes column and line data, for example). Right-click the series you want to use a different scale, click Format Data Series, and look for an option to assign it to a secondary axis. Excel then creates a second vertical axis on the right side with its own scale.
How do I remove an axis entirely?
Right-click the axis and click Format Axis. In the Axis Options tab, scroll to Axis position and select None. The axis line and labels disappear, though gridlines may remain. You can remove those separately by right-clicking a gridline and clicking Delete.