How to Run Excel Regression Analysis and Nonlinear Curve Fitting in WPS Office
Question details
The user needs to perform linear, multivariate, and nonlinear regression analysis in WPS Office Spreadsheets and obtain detailed curve-fit results using Excel-compatible tools.

- Product
- WPS Office Spreadsheets (Excel-compatible)
- Device & OS
- not provided
- Scenario
- The user is working with a spreadsheet dataset and wants to model relationships between variables, evaluate fit statistics, and produce nonlinear or multivariate curve-fit results.
- Observed behavior
- The user expects to access Excel-compatible regression tools and obtain detailed curve-fit results, but needs guidance when standard linear regression does not fit the data.
Make sure the Analysis ToolPak add-in is enabled in WPS Office Spreadsheets and arrange your Y and X variables in adjacent columns with a header row before opening the regression tools.
Run Linear and Multivariate Regression with the Analysis ToolPak
Use this method when you need full regression statistics such as R Square, coefficients, p-values, and residuals for linear or multiple independent variables.
WPS Office Spreadsheets includes an Excel-compatible Analysis ToolPak. The Regression tool outputs summary statistics that are easier to interpret than manually entering formulas, especially for multivariate models.
Click the Data tab in WPS Office Spreadsheets, then select Data Analysis in the Analysis group. If Data Analysis is not visible, enable the Analysis ToolPak add-in first.
Choose Regression from the analysis tools list and click OK.
In the Regression dialog, set the Input Y Range to your dependent variable column and the Input X Range to one or more adjacent independent variable columns. Check Labels if your selection includes headers.
Choose an Output Range, New Worksheet Ply, or New Workbook, then optionally check Residuals and Line Fit Plots for diagnostic output.
Click OK to insert the regression summary table, ANOVA table, coefficients, and optional residual output into your workbook.

Use LINEST and Data Linearization for Nonlinear Curve Fitting
Use this method when you need formula-based regression output or when a nonlinear model can be transformed into a linear form before applying LINEST.
Perform Excel Regression Analysis in WPS Office Spreadsheets
Use WPS Office Spreadsheets to run Excel-compatible regression analysis with the Data Analysis add-in and LINEST. It supports linear, multivariate, and transformed nonlinear curve fitting while preserving .xlsx compatibility and familiar spreadsheet workflows.
- 1. Download and install WPS Office: Go to the official WPS website, download WPS Office Free, and install it on your Windows or macOS device.
- 2. Open your Excel workbook in WPS Spreadsheets: Launch WPS Office, click Open, and select the .xlsx workbook that contains your regression data. The file opens with Excel-compatible formulas and formatting.
- 3. Enable and run the regression tool: Click the Data tab, open Data Analysis, choose Regression, and define your Y and X ranges to generate the regression output.
- 4. Use LINEST for custom curve fitting: For nonlinear or multivariate fitting, create transformed helper columns and enter the LINEST array formula as described above.

Frequently Asked Questions
How do I enable the Analysis ToolPak in WPS Office Spreadsheets?
Click the File menu, open Options, select Add-ins, choose Analysis ToolPak, and click Go to enable it. After enabling, the Data Analysis button appears on the Data tab.
Can I perform nonlinear regression directly in WPS Office Spreadsheets?
WPS Office Spreadsheets does not have a dedicated nonlinear regression tool, but you can linearize many nonlinear models by creating transformed columns such as LN(y) or 1/y, then run the Regression tool or LINEST. Chart trendlines can also show common nonlinear fits like exponential, logarithmic, polynomial, and power.
What is the difference between the Regression tool and LINEST?
The Regression tool produces a formatted summary table with residual and line fit plot options. LINEST returns an array of coefficients and statistics directly in cells, which is more flexible for custom models and multivariate input ranges.
Does WPS Office keep regression results when files are opened in Microsoft Excel?
Yes, WPS Office works with .xlsx files, so regression outputs, formulas, charts, and analysis results remain available when the workbook is opened in Microsoft Excel, provided the same add-in or functions are supported.




