Copy to Excel: click inside A1 and paste. Headers included. If columns stick together, use Data → Text to Columns → Delimited → Tab.
| # | X (Sleep hours) | Y (Exam score) |
|---|
Assumes your data are in A1:C24 with headers on row 1 (X in A2:A24, Y in B2:B24). Paste each into an empty cell.
Returns the full LINEST table (5×2). Use INDEX to pick out cells, or select a 5×2 range and enter as dynamic array.
For a full ANOVA table instantly, use the ToolPak version (Data → Data Analysis → Regression).
Paste this into your report and replace the numbers with your Excel results.
Problem. Predict Exam score (Y, points) from Sleep hours (X, hours) with a straight line.
Model (Excel). Using =SLOPE, =INTERCEPT, =RSQ, =CORREL, =STEYX:
ŷ = [b0] + [b1]·X.
Fit. R² = [R2] (≈[xx]% explained); r = [r]; STEYX = [steyx] points.
Forecast. At X = [x0] hours, ŷ = [yhat] points (≈ ŷ ± 2·STEYX).
Interpretation. +1 hour → ≈ [b1] points change in Y. Intercept at X=0 is [in-range/out-of-range].
Checks. Residuals show no obvious curve/outliers; no extrapolation in forecast.
Jump to the ToolPak path (Excel’s Data → Data Analysis → Regression) with the same dataset and a student-friendly legend: