Shade the area between multiple lines (3+) with Excel charts

doobage

New Member
Joined
Sep 22, 2006
Messages
13
I've figured out how to shade the area between two lines in an Excel Chart. Now I need some help figuring out how to do the same thing but for at least three lines.

Here is a sample data set that I'm trying to chart and shade.

Top Median Bottom
7.4% 3.4% -5.7%
7.5% 3.4% -4.0%
3.6% -0.5% -8.5%
8.8% 4.2% -2.1%

I'd like for there to be shading between the "Median" & "Bottom" lines AND the "Top" & "Median" lines. Does anyone have a spreadsheet template that they can share? Thanks in advance for the help.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Hi,

I think you may be able to adapt an Area Chart to do this. If you need the original lines adding then you can use a Combo chart.

To make an Area Chart work you need to massage the data.

Excel 2013
ABCDEFG
1BottomMedianTopBottomMedianTop
2-5.70%3.40%7.40%-5.70%9.10%4.00%
3-4.00%3.40%7.50%-4.00%7.40%4.10%
4-8.50%-0.50%3.60%-8.50%8.00%4.10%
5-2.10%4.20%8.80%-2.10%6.30%4.60%
Sheet1
Cell Formulas
RangeFormula
E2=A2
F2=B2-A2
G2=C2-B2




Area%20Chart_zpsvudmllhf.png
 
Upvote 0
RickXL,

Thanks for the quick help. Your massaging worked. To clarify should anyone else be dealing with a similar issue, I created an Area Chart with the entire data set A1:G5 and then converted Areas A, B, and C to a Marked Line chart. Then you can play with the Fill of Areas E, F, and G to better highlight the shading between the lines.

Thank you again!




Hi,

I think you may be able to adapt an Area Chart to do this. If you need the original lines adding then you can use a Combo chart.

To make an Area Chart work you need to massage the data.

Excel 2013
ABCDEFG
1BottomMedianTopBottomMedianTop
2-5.70%3.40%7.40%-5.70%9.10%4.00%
3-4.00%3.40%7.50%-4.00%7.40%4.10%
4-8.50%-0.50%3.60%-8.50%8.00%4.10%
5-2.10%4.20%8.80%-2.10%6.30%4.60%
Sheet1
Cell Formulas
RangeFormula
E2=A2
F2=B2-A2
G2=C2-B2




Area%20Chart_zpsvudmllhf.png
 
Upvote 0

Forum statistics

Threads
1,225,814
Messages
6,187,175
Members
453,411
Latest member
healthcares

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top