Skip to main content

Kutools for Office β€” One Suite. Five Tools. Get More Done.

How to shade the area between two lines in a line chart in Excel?

Author Siluvia Last modified

When creating a line chart for two data series, do you know how to shade the area between the two lines as shown in the screenshot below? This tutorial provides two methods to help you get it done step by step.

A screenshot of two lines in a line chart, showing the area between them shaded

Shade the area between two lines in a line chart by inserting helper columns
Easily shade the area between two lines in a line chart with an amazing tool


Shade the area between two lines in a line chart by inserting helper columns

Suppose you have a monthly sales table for two years and want to create a line chart for them, shading the area between the two lines. Please do as follows to handle it.

A screenshot of a monthly sales table showing two years of data

1. Firstly, you need to create two helper columns.

In the first helper column, use the same values as in column B for 2018.
Give the column a header, select the cell next to the column header, enter the formula below and press the Enter key. Select the formula cell and drag its AutoFill Handle down to get all results.
=B2
A screenshot of the first helper column formula in Excel, '=B2'
In the second helper column, you need to calculate the difference between the values in two years. Please apply the following formula.
=C2-B2
A screenshot showing the second helper column formula in Excel, '=C2-B2'

2. Select the whole range, click Insert > Insert Line or Area Chart > Line to insert a line chart.

Tip: If you have already created the line chart, skip this step and proceed to the Note.

A screenshot of the 'Insert Line or Area Chart' option in Excel

Now a line chart is created as shown in the screenshot below.

A screenshot of the line chart with two data series created

Note: If you have already created a line chart for the original series (see the following screenshot) and want to shade the area between the lines. After creating the two helper columns, you need to do as follows.

A screenshot of a line chart for the original series with the area between the lines needing to be shaded

1) Right click the chart and choose Select Data from the context menu.
A screenshot of a line chart with the option 'Select Data' highlighted in the context menu
2) In the Select Data Source dialog box, click the Add button.
A screenshot of the 'Select Data Source' dialog box in Excel with the 'Add' button highlighted
3) In the Edit Series dialog box, select the series name and series values in the first helper column separately, and then click the OK button.
A screenshot of the 'Edit Series' dialog box in Excel
4) When it returns to the Select Data Series dialog box, repeat the step 2) and 3) above to add the series name and series values of the second helper column.
A screenshot of the second helper column being added in the 'Select Data Source' dialog box
5) In the Select Data Source dialog box, you can see that the newly added series are displayed in the Legend Entries (Series) box. Click OK to save the changes. See screenshot:
A screenshot of the newly added series in the 'Legend Entries (Series)' box in the Select Data Source dialog box

3. Right click on any line in the chart and select Change Series Chart Type in the right-clicking menu.

A screenshot of the 'Change Series Chart Type' option in the right-click menu

4. In the Change Chart Type dialog box, change the chart type of the Base and Difference series to Stacked Area and click the OK button to save the changes.

A screenshot of the 'Change Chart Type' dialog box showing the stacked area option

The chart now is displayed as follows.

A screenshot of the chart showing the shaded area below the two lines

5. Select the largest highlighted area in the chart, and then click Format (under the Chart Tools tab) > Shape Fill > No Fill.

A screenshot of the 'Shape Fill' option under the 'Chart Tools' tab in Excel

6. Now you need to remove the newly added series from the legend as follows.

Click to select the entire legend, then click on the name of the series you want to delete from the legend and press the Delete key.
A screenshot of selecting a series to delete from the legend in Excel
Here I removed the Base series and the Difference series from the legend. The chart now is displayed as follows.
A screenshot of the chart with the 'Base' and 'Difference' series removed from the legend

Tips: If you want to remove the entire legend from the chart and display only the series names on the corresponding lines in the chart, please do as follows.

1). Select the legend and press the Delete key to remove it from the chart.
A screenshot of the 'Delete' key being used to remove the entire legend in Excel
2). Click twice on any data point in the line to select it only. Click the Chart Elements button > the black triangle (next to the Data Labels) > More Options.
A screenshot of the 'Chart Elements' button being used to modify data labels in Excel
3). In the opening Format Data Label pane, uncheck the Value and Show Leader Lines checkboxes which are checked by default. Then check the Series Name checkbox.
A screenshot of the 'Format Data Label' pane with the 'Series Name' checkbox selected
4). The data label is now added to the chart. To make it easy for others to figure out which series the data label belongs to, you need to change the font color of the data label to the same color as the line of that series.
Select the data label, change the font size and color as you need under the Home tab.
A screenshot of modifying the font color of a data label to match the series color
5). Repeat the step 7, 8 and 9 to add another data label to the second series.
A screenshot of adding a second data label to the second series in the chart

7. Select the shaded area in the chart, click Format (under the Chart Tools tab) > Shape Fill. Then choose a lighter fill color for it.

A screenshot of the 'Shape Fill' option to change the shaded area color in Excel

8. Change the chart title as you need.

The chart now is finished. And the area between the two lines is highlighted as shown in the screenshot below.

A screenshot of the final line chart with shaded area between two lines


Easily shade the area between two lines in a line chart with an amazing tool

The above method has many steps and is very time-consuming. Here I recommend the Different Area Chart feature of Kutools for Excel to help you easily solve this problem. With this feature, you don’t need to create helper columns, just need several clicks to get it done.

Kutools for Excel offers over 300 advanced features to streamline complex tasks, boosting creativity and efficiency. Itegarate with AI capabilities, Kutools automates tasks with precision, making data management effortless. Detailed information of Kutools for Excel...         Free trial...

1. Select the whole data range, click Kutools > Charts > Difference Comparison > Difference Area Chart.

A screenshot of the 'Difference Area Chart' option in Kutools tab in Excel

2. In the Difference Area Chart dialog box, you can see that the fields are automatically filled with corresponding cell references, click the OK button directly.

A screenshot of the 'Difference Area Chart' dialog box

The chart is created. See the screenshot below.

A screenshot of the chart created with the Kutools 'Difference Area Chart' tool

Note: You can right-click on any element of the chart to apply a different color or style as you want.

Kutools for Excel - Supercharge Excel with over 300 essential tools. Enjoy permanently free AI features! Get It Now


Demo: Shade The Area Between Two Lines In A Line Chart In Excel

Kutools for Excel: Over 300 handy tools at your fingertips! Enjoy permanently free AI features! Download Now!

Best Office Productivity Tools

πŸ€– Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions…
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!

All Kutools add-ins. One installer

Kutools for Office suite bundles add-ins for Excel, Word, Outlook & PowerPoint plus Office Tab Pro, which is ideal for teams working across Office apps.

Excel Word Outlook Tabs PowerPoint
  • All-in-one suite β€” Excel, Word, Outlook & PowerPoint add-ins + Office Tab Pro
  • One installer, one license β€” set up in minutes (MSI-ready)
  • Works better together β€” streamlined productivity across Office apps
  • 30-day full-featured trial β€” no registration, no credit card
  • Best value β€” save vs buying individual add-in