Excel has no one-click "shade under the line" button, but you can get a clean shaded area in a few minutes by adding a helper series and switching that series to an area chart. The trick is to build a second data column that holds the same values as your line, plot it as a filled area behind the line, and then set the fill and transparency so the line stays readable. This works in Excel for Microsoft 365, Excel 2021/2019 on Windows and Mac, and in Excel for the web, though the exact ribbon labels can differ slightly by version, device and region.
What You'll Need
- Your data in two columns: one for the horizontal axis (dates, months, categories) and one for the values you plotted as a line.
- A line chart already created from that data, or the willingness to create one (Insert > Line or Area chart > Line).
- An empty column next to your data for the helper series.
Step-by-Step
- Select your two data columns, go to Insert, open the Line or Area chart gallery and choose a standard 2-D line chart. A 3-D chart will not work cleanly for this method.
- Add a header in the next empty column, for example "Shade", and fill the cells below it with the same values as your line column. The simplest way is to type
=B2(pointing at the first value cell) and drag the fill handle down. Formulas keep the helper series in sync if the source data changes. - Right-click the chart and choose Select Data. Under Legend Entries (Series), click Add. Set the Series name to the Shade header cell, the Series X values to your axis column, and the Series Y values to the helper column. Click OK twice.
- You now have two lines sitting on top of each other. Right-click the new series line (click it once, then right-click) and choose Change Series Chart Type.
- In the dialog, find the Shade series in the list and change its chart type to Area (a 2-D area). Leave your original series as a Line. Click OK.
- Click the shaded area once to select it, then right-click and choose Format Data Series. In the Format pane, open the Fill section and pick a solid fill colour.
- Still in the Format pane, raise Transparency to roughly 40-60% so the gridlines and axis labels stay visible. Exact values are a matter of taste.
- If the fill hides the line, right-click the chart and choose Select Data, or use the Chart Elements order: select the area series and send it backward with Format > Send to Back (or right-click > Send to Back) so the line draws on top.
- Remove the legend entry for the helper series if you do not want it shown: click the legend, click the Shade entry, and press Delete. Do not delete the series itself.
- Optionally set the area border to No line in the Format pane so only the fill shows.
Common Mistakes
- Typing the helper values instead of linking them. Hard-coded numbers go stale when the source data changes. Use a formula reference.
- Leaving the helper series as a line. The fill only appears after you change that series to an Area chart type.
- Using a 3-D or stacked chart. These distort the fill and often hide the line. Stick to 2-D line plus 2-D area.
- Deleting the helper series from Select Data. That removes the shading entirely; remove only the legend entry if you want it hidden.
- Forgetting the X values. If the area series has no X values set, it can shift out of alignment with the line.
Tips
- To shade only between two lines (for example a target and actual), add two helper columns and use a stacked area chart where the bottom series is invisible (No fill) and the top series carries the colour.
- Use a light colour with 50% transparency for a professional look, and match the area fill to the line colour.
- If you need the shading to stop at a threshold, use a formula such as
=IF(B2>=threshold,B2,NA())in the helper column. NA() leaves gaps instead of drawing to zero. - Save a copy of the workbook before heavy chart edits so you can revert.
Troubleshooting
- No fill appears: confirm the series chart type is Area, not Line, and that Fill is set to Solid fill rather than No fill.
- The shading covers the line: send the area series to the back, or raise its transparency.
- The shaded shape drops to zero between points: this is normal for area charts. Use NA() for gaps or accept the straight edges.
- The helper series is misaligned: reopen Select Data and check that Series X values point at the same axis range as the original line.
- Excel for the web looks different: the same commands exist under Chart Design and Format, but pane layouts vary; look for Format Selection if Format Data Series is not listed.
Frequently Asked Questions
Can I shade under a line without adding a helper column?
Not directly. Excel's line chart has no fill-under-line option, so a helper series plotted as an area is the standard method.
Does this work on Mac and in Excel for the web?
Yes, the same series and chart-type approach works, though menu names and pane positions can differ slightly by version and region.
How do I shade only part of the line?
Use a helper formula that returns the value only for the range you want and NA() elsewhere, then plot that column as the area series.
Why does the shaded area look jagged?
Area charts connect data points with straight segments. Add more data points or use a smoothed line for the original series if you need a softer look.
Can I shade between two lines?
Yes, with two helper columns and a stacked area chart, hiding the lower series fill so only the band between the lines is coloured.