You cannot shade a specific area directly inside an Excel chart object — Excel charts have no built-in "highlight selection" tool. The reliable method is to add a data column that contains the values you want highlighted (and blanks elsewhere), plot that as a second series, then change the series fill colour. The shaded band will grow and shrink automatically if you use a formula or a start/end range that feeds the extra column. Two variants cover almost every case: shading a vertical band over a period of time (an x-axis range, done with a stacked area series behind your line) and shading the space above or below a threshold (done with an area series or a helper column of values). Both work in Excel for Microsoft 365 on desktop, Windows and Mac; the Series Fill controls are in the Format Data Series task pane, and exact wording can differ slightly by version.

What You'll Need

  • Your existing chart (line or column charts work best for this technique) with the x-axis values stacked neatly in one column.
  • A helper area on your sheet — two or three spare columns next to your data are enough — for the shading series.
  • Basic familiarity with selecting a chart series and right-clicking to open Format Data Series.
  • Optional: Excel tables (Ctrl+T) so the chart picks up new rows automatically.

Step-by-Step

Method 1: Shade a period (vertical band)

This is the method people most often want: a coloured band behind a line chart covering, say, a promotional month, a device outage window, or a period after a firmware change.

  1. In the column next to your x-axis data, add two helper columns, for example Band Start and Band End. Leave every row blank except the rows inside the range you want shaded.
  2. Add a third helper column, Band Height. On the shaded rows only, enter a formula that returns a value above your chart's maximum, such as =MAX($B$2:$B$50)*1.2 where B is your main value column. Fill it down. The other rows stay empty.
  3. Right-click the chart and choose Select Data. Click Add to create a new series. Set the series name to Band, the x-values to your existing x-axis range, and the y-values to the Band Height column.
  4. With the new series selected, right-click it and choose Change Series Chart Type. Set that single series to Stacked Column (or Stacked Area) and make sure it sits on the same axis as your main line.
  5. Open Format Data Series for the band series. Set Fill to a solid colour of your choice and set Transparency to around 60–80% so the gridlines and the main line stay readable. Set Border to No Line.
  6. If the band is drawn in front of your data, right-click the band series and choose Send to Back (or reorder the series under Chart Design > Select Data so the band sits at the bottom).
  7. To move the band later, just shift your values down the Band Height column — no chart rework needed. Change the shaded range, edit the helper column, and the chart updates.

Method 2: Shade above or below a threshold

Use this when you want a horizontal zone — a target floor, a safety ceiling, an acceptable humidity range.

  1. Add a helper column Floor that repeats your lower threshold in every row.
  2. Add another helper column Ceiling (or Limit) that repeats your upper threshold.
  3. Select the chart, choose Select Data, and add the Floor series. Change it to a Stacked Area chart type on the same axis.
  4. Format the Floor series fill to a plain colour and lower its transparency. This paints the area from the axis up to the threshold.
  5. For a banded acceptable range, add a second helper column that holds the difference between ceiling and floor (=Upper−Lower) and stack it on top. The visible result is a shaded strip between the two values.
  6. Send the shaded series to the back so your real line or columns remain visible on top.

Working example

Suppose you chart daily indoor temperature from 1–31 January in column A (dates) and B (temperature), and you want 12–14 January shaded because the heating was serviced. Leave B untouched. In column D (Band Height) put =MAX($B$2:$B$32)*1.2 only in rows 13–15 (which correspond to 12, 13 and 14 January) and leave the rest blank. Add column D as a series, set it to stacked column, and apply fill at 70% transparency. The chart now shows a soft vertical band, and the band disappears if you delete those three cells.

Common Mistakes

  • Using zeros instead of blanks. A zero in the helper column makes the band drop to the axis and cut a notch in the chart. Delete the cell contents (or return "" or #N/A) rather than typing 0.
  • Plotting the band on a secondary axis. Mixing axis groups makes the band float or scale oddly. Keep every new series on the same axis as the data.
  • Leaving the band in front. Opaque bands hide the series you are trying to highlight. Lower the transparency and send the band to the back.
  • Hard-coding the band height. A fixed number breaks when your data grows. Tie it to MAX() or MAX()*1.2 instead.
  • Adding a shape instead of a series. A drawn rectangle sits over the plot area in pixel coordinates and does not move when the axis rescales or the data changes.
  • Forgetting gaps. Leaving gaps in the x-axis (dates or categories) can stretch or compress a band. Make sure the x-axis range is continuous.

Tips

  • Pick light, desaturated fills — pale yellow, light grey, soft blue — with 60–80% transparency so the band reads as background, not as a second data set.
  • Add a legend entry only if the band needs explaining; otherwise remove it from the legend by selecting the legend entry and pressing Delete, to keep the chart clean.
  • Store the band start and end dates in two cells and use =IF(AND(A2>=$F$1,A2<=$G$1),MAX($B$2:$B$32)*1.2,"") so changing two cells moves the band automatically.
  • Turn your source data into a table (Ctrl+T) so newly added rows are automatically included in the chart and the band formulas.
  • Colour-code several bands: one column per highlighted period, each with its own fill, when you need to mark more than one event.
  • Copy the finished chart as a picture (Home > Copy > Copy as Picture) when pasting into another app, so the overlays travel with it.

Troubleshooting

  • The band does not appear at all. Check that the helper column actually contains numbers on the shaded rows and that the series was added to the chart. Then confirm the y-axis maximum — if the band height sits below the existing maximum it will be hidden behind other data; raise it or lower the transparency.
  • The band is a thin line, not a block. You probably used a line chart type for the band. Change the series type to stacked column or stacked area.
  • The band is drawn across the whole chart. Everything in that column is filled, not just the highlighted rows. Blank out the cells outside the range.
  • The main line disappears behind the band. Right-click the band and use Send to Back, or reduce fill transparency.
  • The band jumps when data is updated. A fixed height value has fallen below the new data maximum. Replace the constant with MAX(range)*1.2.
  • Legend looks confusing. Delete the band entry from the legend, or rename the series to something descriptive like "Service window".
  • Chart will not accept the new column. Confirm the x-values you assign match the number of rows in the y-values; mismatched ranges cause Excel to shift or drop points.

Frequently Asked Questions

Can I shade part of a chart directly without adding data?

Not with a native Excel chart tool. You can draw a rectangle shape, but it does not stay aligned when the axis rescales or data changes. The data-series method is the reliable one.

Does this work on Excel for Mac and Excel for the web?

The Select Data, Change Series Chart Type and Format Data Series commands are all available in Excel for Mac and in the web version, though the task pane layout differs and labels can vary slightly between versions. The workflow is the same.

Will the shaded area change as my data grows?

Yes, if you base the band height on MAX() and put your start and end conditions in cells referenced by a formula. Static values will not update automatically.

Can I put more than one shaded region in the same chart?

Yes. Add a separate helper column for each region and a separate series for each range, each with its own colour.

Why does my band only cover half the plot area?

Usually the category axis is set to gaps rather than being a date axis, or the range of x-values in the series is shorter than the rest of the chart. Right-click the x-axis, open Format Axis, and check the axis type and range.

Can I shade a region on a pie or bar chart?

This technique is designed for column, line and area charts with a value axis. For pie or bar charts, highlighting a single slice or bar works by formatting that data point individually rather than by adding a band series.