A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi Chorme ,
Based on your description, I suspect the discrepancy may be caused by rounding of the coefficients in Excel’s displayed regression equation.Although the regression curve appears correct, Excel may display fewer significant digits than it uses internally to calculate the curve.
Step 1: Increase the precision of the displayed equation
Right-click the regression equation on your chart.
Select Format Trendline Label.
Expand Number.
Select Scientific and increase the decimal places to 10–14.
Recalculate your predicted values using the updated coefficients.
Step 2: Verify the chart type
Ensure that you are using an XY Scatter chart rather than a Line chart. A Scatter chart uses the actual numerical X-values when calculating the regression.
Step 3: Calculate the coefficients directly using LINEST
Assuming your X-values are in A2:A20 and Y-values are in B2:B20, try:
=LINEST(B2:B20,A2:A20^{1,2})
This returns the coefficients a, b, and c for the quadratic equation:
y=ax^2+bx+c
Using these coefficients directly avoids rounding errors from manually copying the displayed chart equation.
Please also note that regression estimates the best-fitting curve, so the predicted values may differ slightly from the original measurements.
Official references:
Chart trendline formula is inaccurate in Excel
Display more digits in trendline equation coefficients
If the discrepancy persists, could you please share the original data, displayed regression equation, and an example of your calculated result? This would help me identify the exact cause.