Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
kp
 
Posts: n/a
Default How do I measure area under a line chart drawn in Excel file?

Can anyone please let me know "How do I measure area under a line chart
drawn in Excel file?"
  #2   Report Post  
Bernard V Liengme
 
Posts: n/a
Default

See examples on my website using Trapezoid & Simpson's Rule.
Bernard
www.stfx.ca/people/bliengme/ExcelTips

"kp" wrote in message
...
Can anyone please let me know "How do I measure area under a line chart
drawn in Excel file?"



  #3   Report Post  
redbelly
 
Posts: n/a
Default

I'm not aware of such a feature in the various chart menus, but you can
calculate the area directly from the data used for the chart curve.
You don't even need to make a chart, except as an aid in visualizing
the curve.

Let's suppose you have the x values in cells A1:A100, and y values in
B1:B100.
Then, in column C, do the following:

1. Put this formula in cell C1 (area contribution from the first data
point):
=B1*(A2-A1)/2

2. Put this formula in cell C2 (area contrib. from 2nd data point):
= B2*(A3-A1)/2

3. Copy the formula in cell C2 to cells C3 through C99, i.e. up to the
2nd-to-last data point.

4. Put this formula in cell C100, or wherever the last data point's row
is:
=B100*(A100-A99)/2

5. The area is the sum of all values in column C. So in cell D1, type
= sum(C1:C100)

This will work even if the x values are not evenly incremented. There
are more accurate ways to do this, but this method is the simplest I
know of.

Mark

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
add line to a stacked area chart already created Mitch Charts and Charting in Excel 3 April 3rd 23 04:43 PM
Formatting lines between data points in a line chart ltanner Charts and Charting in Excel 2 March 13th 05 05:12 AM
Changing Line in line chart B Dubinsky Charts and Charting in Excel 1 January 21st 05 04:10 AM
Line chart - date line association gone mad! Johannes Czernin Charts and Charting in Excel 5 January 17th 05 08:48 PM
pivot table multi line chart souris Charts and Charting in Excel 2 December 7th 04 03:56 AM


All times are GMT +1. The time now is 01:08 AM.

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

About Us

"It's about Microsoft Excel"