How do I fit a line on an excel plot to a portion of the data?

M

mechengstudent

I want a best fit line to go pass through the obviously linear portion of the
data and ignore all other points, how do i do this?
 
A

Andy Pope

Hi,

Trend lines are based on all the data points in a series.
To get a trend line on a subset of data you will need to add a new series
based on only that subset.

Cheers
Andy
 
S

ShaneDevenshire

Hi,

If you want the chart to do this, then one way is to plot the "obvious
linear protion" as one series and the rest as another series and then select
the above portion and choose Chart, Add Trendline. You could also manually
calculate the trendline in the spreadsheet for the points that make up the
"obvious linear portion" using some combination of the LINEST, TREND, SLOPE
or INTERCEPT spreadsheet functions.

Then you would calculate and plot the trendline as a separate series. I
suspect you can find at least one example at Jon's website. Google Excel
Charts and look for Jon Peltier's sites.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top