

Calculate values using data in table cells.

Quickly calculate a sum, average and more.View the source data for a pivot table value.Change how pivot table data is sorted, grouped and more.Add calculations to summarise group data.Add tick boxes and other controls to cells.Use VoiceOver to create formulas and autofill cells.Intro to images, graphs and other objects.Select F2 thru I2 and fill down as needed. Then dragging the data range controls (in the table) to include the best fit data Expand the graph range by selecting the chart, I2=Best Fit Constants :: $D$1+Best Fit Constants :: $D$2*H2 G2=Best Fit Constants :: $B$1+Best Fit Constants :: $B$2*F2 The original table (which I named "Data") is constructed as follows: The bottom table is named "Best Fit Constants" and is constructed:ī1=INDEX(LINEST(Data :: C,Data :: B,TRUE), 2)ī2=INDEX(LINEST(Data :: C,Data :: B,TRUE), 1)ĭ1=INDEX(LINEST(Data :: E,Data :: D,TRUE), 2)ĭ2=INDEX(LINEST(Data :: E,Data :: D,TRUE), 1) Then you can use those two values with the original X values to construct a best fit line. Using my previous charts you can add a new table (in this case below the chart) used to calculate the slope (m) and the y-intercept (b) for each of the original series. If you want to add a linear best fit line you can get the parameters for that line from your existing data and make a NEW series:
