Fill an area between two lines in a chart in Excel

Hi Experts,

On the website below, it shows how to fill an area between two lines in a chart in Excel.
http: //superuser.com/questions/233027/fill-an-area-between-two-lines-in-a-chart-in-excel

I'm trying to use the above example to plot a graph of Revenue vs. Expenses on a monthly basis, and I'd like to colour the area between the lines to show the gap.  

Is it possible to have two different colours for the areas between the lines though?  

If Revenue line is greater than Expense line, I'd like to have the area coloured green.  If Revenue line is less than the Expense line, I'd like to have the area coloured red.

Thanks
rav_ravAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
Hello,

Jon Peltier has two articles that might be helpful to find your optimal approach:

Fill under or between series in an XY chart
http://peltiertech.com/WordPress/fill-under-between-series-in-excel-chart/ 

and

Area Chart – Invert if Negative
http://peltiertech.com/WordPress/area-chart-invert-if-negative/

For your scenario, the second option might be a better fit.  

The articles are a bit too long to quote here. Suffice it to say that in both approaches a stacked area chart is used to create the illusion of a fill color between two lines.

Let me know how you get on and if you need more help with the approach.

cheers, teylyn
0
rav_ravAuthor Commented:
Thanks Teyln.  The first article is similar to the website I referenced on superuser.  The second article uses an approximation technique which I'm not sure would give me the accuracy I want.  

By chance, do you have a sample Excel file already with the inverted graph?  I'd like to see how well it mirrors my existing data points?

Thanks
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rav_ravAuthor Commented:
No answer posted
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.