Printable Version | Subscribe | Add to Favourites
New Topic New Poll New Reply
Author: Subject: Excel help needed - trendlines
Ivan

posted on 16/7/10 at 04:49 AM Reply With Quote
Excel help needed - trendlines

Hi - been using trendlines for years and suddenly it all goes pear shaped:

Data:
200 = 215000.00
315 = 233406.24
500 = 270279.12
630 = 309626.40

Chart - Scatter chart

Trendline - 2nd order polynomial

Formula: y=(0.237*x^2) + (20.10 * x) + 20209

R squared = 0.999

Problem - using formula above to calculate for x = 315 get 50056.83 and not around about 233406 - where have I gone wrong.


By the way for those interested the above is for replacement cost of minisubstations with oil RMU's including installation in ZAR.

[Edited on 16/7/10 by Ivan]

View User's Profile View All Posts By User U2U Member
PSpirine

posted on 16/7/10 at 06:26 AM Reply With Quote
Given that all I do at work is Excel, let me stick this data in and see if I can come up with an answer!
View User's Profile View All Posts By User U2U Member
PSpirine

posted on 16/7/10 at 06:36 AM Reply With Quote
Think there's a bit of a maths fail going on

I got the exact same result as you when using a normal calculator, but when properly working the formula out, the result you get with it is 232019, which is correct.

Nothing wrong with the trendline matey!

View User's Profile View All Posts By User U2U Member
v8kid

posted on 16/7/10 at 06:41 AM Reply With Quote
Interesting I take it you have 200 and 630kva substations in SA. Here we tend to concentrate on 500 and 1mva with pole mounted for the rural stuff
View User's Profile E-Mail User Visit User's Homepage View All Posts By User U2U Member
RIE

posted on 16/7/10 at 06:59 AM Reply With Quote
The trendline equation I got had "...+202099", not 20209. Give that a try, it should get you closer.

[Edited on 16/7/10 by RIE]

View User's Profile View All Posts By User U2U Member
PSpirine

posted on 16/7/10 at 07:07 AM Reply With Quote
Maybe that's why I got the correct answer the second time - the first time I just used your equation! Tried to trick us did ya!
View User's Profile View All Posts By User U2U Member
Ivan

posted on 16/7/10 at 10:54 AM Reply With Quote
Thanks all - I am so ashamed - yes it's 202099 - thats what happens when you start working at 05:00 0n a cold winter's morning Wasted 1 hour on trying to see what was wrong

Thanks once more - Locost Builders is top once again Sorry it took so long to reply - was out inspecting services in Langebaan.

v8Kid - our substations range from 10 kVA (normaly rural and pole mounted for one farm) upwards - the majority are in the 200 - 500 range and of all sorts - pole mounted, ground mounted and minisubs. Seldom see anything bigger than 630 in the towns I work in except fo High Voltage stuff.

[Edited on 16/7/10 by Ivan]

View User's Profile View All Posts By User U2U Member
Ivan

posted on 17/7/10 at 04:11 AM Reply With Quote
Ok - did another calculation and realised that the text box for the trendline formula is set too small by microsoft and cuts off the last number in the formula - so I had no need to be mad at myself - just Microsoft for not properly configuring the box - solved problem by reformatting the trendline lable to 4 decimal places.
View User's Profile View All Posts By User U2U Member
MikeRJ

posted on 18/7/10 at 04:22 PM Reply With Quote
quote:
Originally posted by Ivan
Ok - did another calculation and realised that the text box for the trendline formula is set too small by microsoft and cuts off the last number in the formula - so I had no need to be mad at myself - just Microsoft for not properly configuring the box - solved problem by reformatting the trendline lable to 4 decimal places.


This has always been the case for trendlines in Excel; the factors are shown to a couple of decimal places by default and you have to expand this if you actually need to use polynomial factors with any degree of accuracy.

View User's Profile View All Posts By User U2U Member

New Topic New Poll New Reply


go to top






Website design and SEO by Studio Montage

All content © 2001-16 LocostBuilders. Reproduction prohibited
Opinions expressed in public posts are those of the author and do not necessarily represent
the views of other users or any member of the LocostBuilders team.
Running XMB 1.8 Partagium [© 2002 XMB Group] on Apache under CentOS Linux
Founded, built and operated by ChrisW.