LINEST Function
Click F2 and enter the formula =LINEST(B2:B11,A2:A11,,TRUE). Where B2:B11 is
your y axis column of your data and A2:A11 is the x axis column of your data if
they correspond to rows 2 to 11. When done entering the formula, press the CTRL
key, SHIFT key, and ENTER key all at once; this will tell Excel to write the
results of the LINEST function in the selected cells with the pattern.
Macbook Pro 09', Mac OS X (10.5.6)