How to Shade Area Between Two Lines in a Chart in Excel 

We will use the sample dataset below for illustration.

Dataset to Shade Area Between Two Lines Excel Chart


Step 1: Using Some Simple Formulas to Set Things Up

  • In a new column, copy the Y-values of the first line, Price (Jan) column.
  • Use this formula in the E5 cell.
=C5
  • Hit ENTER to get the result.

Basic Required Calculation for Shading Area Between Two Lines of a Chart

  • Drag the Fill Handle to paste the formula to the other cells in the column.

It will generate all the values of Price (Jan) in the column named Jan.

Now, we need to find the difference between the Y-values of the two lines.

  • Use following formula in cell F5.
=D5-C5
  • Hit ENTER to get the result.

  • Drag the Fill Handle to extend the formula to the other cells in the column. It will show all the price changes.


Step 2: Use of Context Menu Bar to Add More Lines in a Chart in Excel

  • Right-click on the chart and choose Select Data from the context menu. Alternatively, you can find this option in the Chart Design tab if your chart is selected.

Use of Context Menu Bar to Add More Lines in Excel Chart to Shade Area

A dialog box named Select Data Source will pop up.

  • In Select Data Source, choose the Add feature.

Another dialog box named Edit Series will pop up.

  • Enter or select the Series name in that dialog box. In the example, we have selected the Series name as E4 cell.
  • Enter the Series values. E.g. range E5:E9.
  • Press OK.

  • Again, select Add.

  • In the Edit Series dialogue box, enter the required cell in Series name (e.g. F4 cell).
  • Include the Series values. Here, I have used the range F5:F9.
  • Press OK.

Edit Data Series to Shade Area Between Two Lines

  • Press OK on the Select Data Source box.

You will see the following lines.

How to Shade Area Between Two Lines Excel Chart


Step 3: Utilizing Change Chart Type Feature to Shade Area Between Two Lines in a Chart

  • Right-click on the chart and select Change Chart Type.

Utilizing Change Chart Type Feature to Shade Area Between Two Lines in a Chart

  • In the Change Chart Type window, go to All Charts >> Combo chart >> select Custom Combination.
  • Change the chart type for both the Jan and Price Change lines to Stacked Area.
  • Press OK.

 

  • Double-click on the Jan line to open the Format Data Series window.
  • From the Series options >> go to the Fill & Line menu.
  • From the Fill options >> select No fill.

You will get the following output.

Shade Area Between Two Lines of Excel Chart

  • Here, I have changed the chart title and deleted the Jan and Price Change lines.

So, the following is the final result.

Shade Area Between Two Lines Excel Chart

Read More: How to Create a Combination Chart in Excel 


 

Download Practice Workbook


Related Articles


<< Go Back to Excel Combo Chart | Excel Charts | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Musiha Mahfuza Mukta
Musiha Mahfuza Mukta

Musiha Mahfuza Mukta is a marine engineer who loves exploring Excel and VBA programming. To her, programming is a time-saving tool for dealing with data, files, and the internet. She's skilled in Rhino3D, Maxsurf, C++, MS Office, AutoCAD, and Excel & VBA, going beyond the basics. With a B.Sc in Naval Architecture & Marine Engineering from BUET, she's shifted gears and now works as a content developer. In this role, she creates techy content exclusively focused on Excel... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo