Chart & Visualization Issues

Extend a Goal Line to the Edges of an Excel Combination Chart

Jason MillerJason Miller Nov 27, 2026 869 views

Question details

Extend a goal line across the entire plot area of an Excel combination chart.

Extend a Goal Line to the Edges of an Excel Combination Chart
Product
Microsoft Excel for Microsoft 365
Device & OS
not provided
Scenario
A combination chart displays bar series and a goal line, and the user wants the line to reach both edges of the plot area.
Observed behavior
The goal line stops short of the plot area edges.
Before you start

Identify the goal value and check the minimum and maximum bounds of the chart's primary vertical axis. You will also need two empty columns or rows for the goal line's endpoint data.

Solution 1Recommended

Use an XY scatter series for the goal line

Create a two-point goal series and use a secondary horizontal axis to position its endpoints at the plot area edges.

The two X values define the line's endpoints, while identical Y values keep the line horizontal. The secondary vertical axis must use the same bounds as the primary vertical axis so the goal appears at the correct height.

1
Create endpoint data

In empty worksheet cells, create an X column containing 0 and 1 and a Goal column containing the same goal value in both rows.

2
Add the goal series

Copy the Goal header and its two values, select the chart, and choose Home > Paste > Paste Special. Add the copied cells as a new series, using the first row as the series name.

3
Change the series type

Select the chart and choose Chart Design > Change Chart Type > Combo. Set the new Goal series to Scatter with Straight Lines and place it on the secondary axis.

4
Assign the endpoint values

Choose Chart Design > Select Data, select the new Goal series, and click Edit. Set Series X values to the cells containing 0 and 1, and Series Y values to the two goal-value cells.

5
Set the axis bounds

Use Chart Design > Add Chart Element > Axes to show the secondary horizontal axis if it is not visible. Right-click it, choose Format Axis, and set Minimum to 0 and Maximum to 1. In Format Axis for the secondary vertical axis, set its minimum and maximum to match the primary vertical axis.

6
Hide secondary axes and clean up

In Format Axis for each secondary axis, set Label Position to None and set the axis line to No line. Format the goal series to remove markers if desired, and remove the original goal series through Chart Design > Select Data if it is no longer needed.

Use an XY scatter series for the goal line
Keep the vertical scales aligned: If you later change the primary vertical axis bounds, update the secondary vertical axis bounds to match. Otherwise, the goal line may appear at the wrong value.
Free Microsoft Office alternative

Create and edit spreadsheet charts with WPS Office

WPS Office is a free, lightweight alternative for working with spreadsheets. Its familiar interface and Microsoft Office format compatibility make it easy to move existing files into WPS Spreadsheets.

Create and edit spreadsheet charts, including charts used to compare results with goals.Open and save Microsoft Excel XLSX files for easy file sharing.Use a familiar spreadsheet interface for a smoother transition from Microsoft Office.Work with a free, lightweight office suite.
QA img-9

Frequently Asked Questions

Why does my Excel goal line stop before the chart edges?

A line series in a category chart is normally plotted at category positions rather than at the plot area boundaries. An XY scatter series with endpoints set to the secondary horizontal axis bounds can span the full width.

How do I show the secondary horizontal axis?

Select the chart and choose Chart Design > Add Chart Element > Axes > Secondary Horizontal. If the option is unavailable, first place the scatter series on the secondary axis.

Why is the goal line at the wrong height?

The scatter series uses the secondary vertical axis. Right-click each vertical axis and choose Format Axis, then make sure their minimum and maximum bounds match.

Can I hide the secondary axes without removing the goal line?

Yes. In Format Axis, set Label Position to None and the axis line to No line. Keep the secondary axes in the chart so their bounds continue to position the scatter series.