Shading in line graphs

Sarah Cadden

New Member
Joined
Apr 11, 2002
Messages
2
Is it possible to shade the area between two lines in a line graph.
At present I am cutting and pasting into a drawing programme and hand drawing a shape to shade - very time consuming and a mare if any data points change

Please help!
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
On 2002-04-12 04:44, Sarah Cadden wrote:
Is it possible to shade the area between two lines in a line graph.
At present I am cutting and pasting into a drawing programme and hand drawing a shape to shade - very time consuming and a mare if any data points change

Please help!
One possibility is to use "Area" type of chart, which will paint the area between two lines. You can then adjust the colors as you wish.
Eli
 
Upvote 0
Eli thanks for responding
the trouble I have with area graphs is that it adds the values of the two lines together
 
Upvote 0
yeah, what you could do is create new values to do the equivilent area graph.

lets say your values are in columns A and B.

so you start new columns C and D. In column C you use the formula to give the minimum of the two values...

eg. in cell C2...
=MIN(A2:B2)

...then in column D you do the difference between the two values that must be added on...

eg. in cell D2...
=MAX(A2:B2)-C2

...then chart C & D instead of A & B. then play with the shading so that there is only shading between the two lines and bob's you uncle.
 
Upvote 0

Forum statistics

Threads
1,213,543
Messages
6,114,243
Members
448,555
Latest member
RobertJones1986

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