US +1 617 5008224
EU +44 113 8152220
Toll Free: Skype
Forum or Email
 Tweet

Our Feeds

### Who's Online

We have 66 guests and 37 members online

206690

### Our Services

ï»¿

Enter Amount:

Home Showcase Making Excel Read Graphical and Tabular Data

 Making Excel Read Graphical and Tabular Data

When you add a trendline to a chart, Excel provides an option to display the trendline equation in the chart. This tip describes how to create formulas that generate the trendline coefficients. You can then use these formulas to calculate predicted y values for give values of x.

1) First the Easy Way

These videos are best viewed in full screen mode. Press play and double click the screen to maximise.

2) Now the More Complex 'Dynamic' Way

These videos are best viewed in full screen mode. Press play and double click the screen to maximise.

The following cell formulae will dynamically calculate trendline equation parameters from a data table. The trendline formulae are quite complicated so copy and paste into your worksheet. These equations assume that your sheet contains C5:H5 (known_x's) and C8:H8 (known_y's).

Linear Trendline

Equation: y = m * x + b
m: =SLOPE(C8:H8,C5:H5)
b: =INTERCEPT(C8:H8,C5:H5)

Logarithmic Trendline
Equation: y = (c * LN(x)) + b
c: =INDEX(LINEST(C8:H8,LN(C5:H5)),1)
b: =INDEX(LINEST(C8:H8,LN(C5:H5)),1,2)

Power Trendline
Equation: y=c*x^b
c: =EXP(INDEX(LINEST(LN(C8:H8),LN(C5:H5),,),1,2))
b: =INDEX(LINEST(LN(C8:H8),LN(C5:H5),,),1)

Exponential Trendline
Equation: y = c *e ^(b * x)
c: =EC5:H5P(INDEX(LINEST(LN(C8:H8),C5:H5),1,2))
b: =INDEX(LINEST(LN(C8:H8),C5:H5),1)

2nd Order Polynomial Trendline
Equation: y = (c2 * x^2) + (c1 * x ^1) + b
c2: =INDEX(LINEST(C8:H8,C5:H5^{1,2}),1)
C1: =INDEX(LINEST(C8:H8,C5:H5^{1,2}),1,2)
b = =INDEX(LINEST(C8:H8,C5:H5^{1,2}),1,3)

3rd Order Polynomial Trendline
Equation: y = (c3 * x^3) + (c2 * x^2) + (c1 * x^1) + b
c3: =INDEX(LINEST(C8:H8,C5:H5^{1,2,3}),1)
c2: =INDEX(LINEST(C8:H8,C5:H5^{1,2,3}),1,2)
C1: =INDEX(LINEST(C8:H8,C5:H5^{1,2,3}),1,3)
b: =INDEX(LINEST(C8:H8,C5:H5^{1,2,3}),1,4)

Higher Order Polynomial Trendline
Follow the pattern set in the second and third order polynomial trendlines.

In the Forum

Some Sample Calculations on the Site

Purpose of calculation: Calculate stress in a 'semi circular' tension fitting (or bath tub fitting).

### Angle type tension fitting.xls

Purpose of calculation: Calculate stress in a 'angle' tension fitting...

### Channel type tension fitting.xls

Purpose of calculation: Calculate stress in a 'channel' tension fitting...

# Training Courses For London Underground

"Thanks again for your excellent course this past week." "Thank you for the course last week, found it very interesting both from the perspective of a quick refresh, but also on how we can optimise the work we do." "Thanks for a very interesting and usef...

I am pleased to report that XLC Ribbon works with the 32bit and 64 bit versions of Excel 2013 obtained using the free Office 365 Home Premium Preview. Excel 2013 looks a little flat and dull compared to previous versions but I think this is the influence of the new Windows 8 'metro' look and f...

# Introducing XLC the Ribbon Version

New!XLC Ribbon    For the first time XLC works with both 32 bit and 64 bit versions of Excel with an enhanced Office Ribbon display. It is a much simpler installation process than the previous Toolbar versions so you can be up and running in no time at all. ...

# ExcelCalcs Bites the Bullet!

Hitachi have recently been awarded the largest ever UK rolling stock order and they’ll be bringing their Shinkansen bullet train technology to Europe. In August ExcelCalcs braved the stifling Japanese heat to deliver their ‘Fatigue of Welded Structures’ course to Hitachi b...

# Engineer's Excel!

Our XLC software is a mathematical add-in for Excel. Generating equations direct from cell formulas it is an essential verification tool for engineers. Furthermore the ExcelCalcs community is the world’s most active producer of Excel solutions to engineering problems. The table below shows w...

# ExcelCalcs Lego-Like Way to Engineering

Like a child selecting parts to construct a Lego model engineers bring together blocks of science to create new designs. These building blocks could be a load calculation, a beam calculation, a weld calculation, a fatigue calculation or any other calculation from a myriad of engineering topics. As...

# iPhone, Android and Mobile Device Access

The site is optimised for browsing on mobile devices like the iPhone or Android phones. To create a web app icon browse to http://www.excelcalcs.com/navigate/ and ‘Add to Home Screen’. You will find an icon much like an app icon on your home screen which will bring you straight back...

# ExcelCalcs Trailblazers

I have been chasing up feedback from new users signing up to XLC Pro accounts in the last month. I am delighted with their positive feedback. “I started using XLC but I am now insisting that my whole team use the add-in .“ “It is a great tool for validation and pres...

# Increasing Engineering Confidence

Engineering training - “I run a team of engineers and whilst there are plenty of soft options for training expounding the latest management techniques there is precious little to develop the engineering skills of my team”. This is a familiar story we hear from clients of our trai...