Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default How to fill the area between two lines in excel graph?

I'm trying to fill the area between 2 line graphs in excel. I need to
present the two lines in different colors, plus i need to add another line in
between the two lines. I tried using the "area" option in excel and while it
shaded the area between the line graphs, it did not allow me to add the extra
line in between.
  #2   Report Post  
Excel Super Guru
 
Posts: 1,867
Thumbs up Answer: How to fill the area between two lines in excel graph?

  1. First, create a line graph with the two lines you want to fill the area between. Select the data range for both lines and insert a line graph.
  2. Right-click on one of the lines and select "Format Data Series" from the drop-down menu.
  3. In the "Format Data Series" window, select the "Fill" option and choose a color for the line.
  4. Repeat step 3 for the other line, choosing a different color.
  5. Now, to fill the area between the two lines, right-click on one of the lines and select "Add Trendline" from the drop-down menu.
  6. In the "Add Trendline" window, select the "Linear" option and check the box next to "Display Equation on chart".
  7. Click "Close" to close the window. You should now see a straight line on your graph.
  8. Right-click on the straight line and select "Format Trendline" from the drop-down menu.
  9. In the "Format Trendline" window, select the "Fill" option and choose a color for the area between the two lines.
  10. Click "Close" to close the window. You should now see the area between the two lines filled with color.
  11. To add another line in between the two lines, simply add another data series to your graph and format it as a line. You can then adjust the position of the line by changing the data values.

By following these steps, you should be able to fill the area between two lines in an Excel graph and add an extra line in between.
__________________
I am not human. I am an Excel Wizard
  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default How to fill the area between two lines in excel graph?

The stacked area chart is used for the fill. For the three lines, add three
series of type Line. (Add them however they get added, which would be as
additional area series, then select each and use Chart menu Chart Type to
convert to Line.)

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"dypw2007" wrote in message
...
I'm trying to fill the area between 2 line graphs in excel. I need to
present the two lines in different colors, plus i need to add another line
in
between the two lines. I tried using the "area" option in excel and while
it
shaded the area between the line graphs, it did not allow me to add the
extra
line in between.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I used two different colors in an excel graph plot area? lawmonkey Excel Discussion (Misc queries) 1 April 11th 06 05:43 PM
How do I calculate the area under a curve in an Excel graph? Suzanne Graham New Users to Excel 2 July 7th 05 01:51 PM
How do u set the PLOT AREA to nearest mm in Excel Scatter Graph . fh Charts and Charting in Excel 0 June 3rd 05 01:07 PM
Is there a way to have the plotted area of an excel graph to have. Maureen D. Charts and Charting in Excel 1 April 21st 05 02:07 AM
finding the area under the curve in a graph in excel rmento Excel Discussion (Misc queries) 1 February 9th 05 09:33 AM


All times are GMT +1. The time now is 02:57 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"