Calculation Issues

Why Excel Logarithmic Trendline R² Differs from LINEST and How to Check It

Nimra MalikNimra Malik Nov 13, 2026 868 views

Question details

The user needs to understand why the R² displayed on an Excel logarithmic trendline can differ from an R² calculated after transforming x with LOG10 and using linear regression or LINEST.

Why Excel Logarithmic Trendline R² Differs from LINEST and How to Check It
Product
Microsoft Excel and WPS Office Spreadsheets
Device & OS
not provided
Scenario
The user created a logarithmic trendline in Excel and compared its displayed R² with an R² from LOG10-transformed x values and linear regression/LINEST.
Observed behavior
The R² values differ, so the user wants to know which calculation is correct for a logarithmic model and how to verify it.
Before you start

Before comparing the values, note the exact trendline equation shown on the chart and confirm whether the selected chart data range matches the LINEST or RSQ input range.

Solution 1Recommended

Check the Logarithmic Trendline Equation, Data Range, and Intercept Setting

Use this first to verify whether the chart trendline and the LINEST formula are based on the same selected data and model options.

A logarithmic trendline in Excel fits y = a + b*LN(x). If the selected data range, intercept option, or displayed equation differs from the LINEST input, the R² values will not be directly comparable.

1
Display the trendline equation and R²

Click the chart series, go to Chart Design > Add Chart Element > Trendline > More Trendline Options, and enable Display Equation on chart and Display R-squared value on chart.

2
Compare the selected data range

In Format Trendline, review the trendline data range and then select the same cells used by the LINEST or RSQ formula.

3
Check the intercept option

In Format Trendline, see whether Set Intercept is enabled or the intercept is forced to zero, and match that setting when evaluating the LINEST result.

Check the Logarithmic Trendline Equation, Data Range, and Intercept Setting
Different R² definitions can apply: Even with the same data, Excel may compute the trendline R² from fitted y and original y, while LINEST R² is based on the linearized inputs.
Free Microsoft Office alternative

Use WPS Office Spreadsheets as a Free Alternative for Logarithmic Trendline and LINEST Analysis

For calculation behavior that is built into Microsoft Excel, WPS Office Spreadsheets provides a free, lightweight alternative with native .xlsx support, a familiar spreadsheet interface, and seamless file migration for reviewing logarithmic trendline and LINEST models.

Supports logarithmic trendline charts and spreadsheet functions for R² comparisonFree to download and use for Excel-compatible spreadsheet workOpens and saves .xlsx files with familiar formulas including LINEST and RSQLightweight and easy-to-use interface for chart trendline reviewSeamless migration from Microsoft Excel without reformatting workbooks
microsoft office alternative - wps office

Frequently Asked Questions

Should I use LOG10 or LN when checking Excel's logarithmic trendline R²?

For Excel's logarithmic trendline y = a + b*LN(x), use LN(x). LOG10(x) can also linearize the model if the base is accounted for; do not transform y unless your intended model requires it.

Why does LINEST R² change when I force the intercept to zero?

Forced zero-intercept changes the coefficient of determination definition and removes the intercept from the fitted model, so LINEST R² and the chart trendline R² can differ significantly.

How can I compare Excel trendline R² with RSQ?

Display the trendline equation, calculate fitted y values for each original x, and use =RSQ(original_y, fitted_y). Compare that to the chart's displayed R².

Does WPS Office Spreadsheets support logarithmic trendlines and LINEST?

Yes, WPS Office Spreadsheets supports chart trendlines and compatible LINEST/RSQ formulas in .xlsx workbooks, so you can review the same model without changing the file format.