How to Create a Break in the Y-Axis of an Excel Chart
Question details
Create a chart with a simulated Y-axis break to display values separated by a large gap.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A user wants to chart data containing a large gap or outlier without leaving most of the chart empty.
- Observed behavior
- The desired chart compresses the unused range and clearly identifies the break in the Y-axis.
Choose a range to omit that contains no data values, and keep the original values in a separate column. The example below uses values of 10, 20, 90, and 100 and compresses the range from 20 to 80.
Simulate a Y-Axis Break With Helper Values
Use a helper column and custom labels to compress a gap while making the break visible.
Excel does not provide a standard broken-axis setting for ordinary charts. This method changes the plotted values, so label the break and retain the original values for reference.
In a worksheet, enter category names in A2:A5 and the values 10, 20, 90, and 100 in B2:B5.
In C2, enter =IF(B2<=20,B2,IF(B2>=80,B2-60,NA())) and fill it down through C5. This produces 10, 20, 30, and 40; values inside the omitted range return an error instead of being plotted.
Select A1:A5 and C1:C5, then choose Insert > Column or Bar Chart and select a clustered column chart.
Right-click the vertical axis and select Format Axis. Set the minimum to 0, maximum to 40, and major unit to 10. Under Labels, set Label Position to None, then use Insert > Text Box to place the labels 0, 10, 20, 90, and 100 at the corresponding tick positions.
Use Insert > Shapes to add short diagonal break marks on the Y-axis at the 20 tick and across columns that extend above it. Add a text box stating that the range from 20 to 80 is compressed, and label the columns with their original values.

Simulate a Broken Y-Axis in WPS Spreadsheets
Use a helper column to compress an empty range, then add custom labels and break marks to a WPS Spreadsheets chart.
- 1. Prepare the data: Open your workbook in WPS Spreadsheets and enter categories in column A and original values in column B. For this example, use 10, 20, 90, and 100.
- 2. Add a helper column: In C2, enter =IF(B2<=20,B2,IF(B2>=80,B2-60,NA())) and fill the formula down. The chart values will be 10, 20, 30, and 40.
- 3. Create the chart: Select the categories and helper values, then choose Insert > Chart and select a clustered column chart.
- 4. Adjust the axis: Select the vertical axis and open its formatting options. Set the minimum to 0, maximum to 40, and major unit to 10, then hide the axis labels.
- 5. Add labels and break marks: Use Insert > Text Box to add the labels 0, 10, 20, 90, and 100 at the tick positions. Use Insert > Shapes to mark the break at 20 on the axis and affected columns, and add a note that 20 to 80 is compressed.

Frequently Asked Questions
Does Excel have a built-in broken Y-axis option?
Ordinary Excel charts do not have a standard broken-axis setting. You can simulate one with helper values, custom labels, and visible break marks.
What if a data value falls inside the omitted range?
Choose a different gap that contains no values. In the example formula, a value between 20 and 80 returns #N/A and is not plotted.
Will the chart still show the original values?
The chart plots the helper values, not the original values. Add the original numbers as data labels or text boxes so readers can see the actual measurements.
Why do the break marks move when I resize the chart?
Manually added shapes and text boxes may not stay aligned with the axis when the chart changes size. Check their positions after resizing or changing the axis scale.




