Function Problems

Fix a LINEST Array Formula in Excel 2016 for Mac

John WilsonJohn Wilson Nov 20, 2026 870 views

Question details

Get Excel 2016 for Mac to return the slope and intercept from a LINEST array formula.

Fix a LINEST Array Formula in Excel 2016 for Mac
Product
Microsoft Excel 2016 for Mac
Device & OS
Mac; macOS version not provided
Scenario
The user is calculating a linear regression with LINEST and wants to display its results across multiple cells.
Observed behavior
Excel may return only the slope when LINEST is not entered with the correct array-formula shortcut.
Before you start

Identify the cells containing your known y-values and x-values. For a single x-variable, reserve two adjacent horizontal cells for the slope and intercept.

Solution 1Recommended

Enter LINEST as an Array Formula in Excel 2016 for Mac

Use this method to return the slope and intercept together in a selected output range.

1
Select the output cells

In the worksheet, select two adjacent cells in the same row where you want the slope and intercept to appear.

2
Enter the formula

Type =LINEST(B2:B10,A2:A10), replacing B2:B10 with your y-value range and A2:A10 with your x-value range.

3
Confirm the array formula

Press Control+Shift+Return, using the Return key in the main typing area. Do not use the Enter key on the numeric keypad.

4
Check the results

Look at the selected cells: the slope should appear on the left and the intercept on the right.

Enter LINEST as an Array Formula in Excel 2016 for Mac
Use the main Return key: On an extended Mac keyboard, Excel may interpret the numeric keypad Enter key differently from the main Return key.
Work with regression values in WPS

Calculate Slope and Intercept in WPS Spreadsheets

Open your workbook in WPS Spreadsheets and calculate the slope and intercept in separate cells using the SLOPE and INTERCEPT functions.

  1. 1. Open the workbook: In WPS Spreadsheets, select Open and choose the Excel workbook containing your data.
  2. 2. Enter the slope formula: Select an empty cell and enter =SLOPE(B2:B10,A2:A10), adjusting the ranges to match your y-values and x-values.
  3. 3. Enter the intercept formula: Select another empty cell and enter =INTERCEPT(B2:B10,A2:A10) with the same data ranges.
  4. 4. Save the workbook: Select File > Save As and choose XLSX if you want to keep the workbook in an Excel-compatible format.
Calculate linear regression values without entering a multi-cell array formula.Open and save Microsoft Excel XLSX workbooks.Work with spreadsheet formulas in a familiar interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why does LINEST show only the slope in Excel 2016 for Mac?

LINEST returns multiple values, but Excel 2016 requires a multi-cell array formula to display them together. Select two horizontal cells, enter the formula, and press Control+Shift+Return.

Which Return key should I use on an extended Mac keyboard?

Use the Return key in the main typing area with Control and Shift. Do not use the numeric keypad Enter key, which Excel may interpret differently.

Which LINEST result is the intercept?

For a regression with one x-variable, the slope appears in the left output cell and the intercept appears in the right output cell.

Can I calculate the slope and intercept without an array formula?

Yes. Enter =SLOPE(y_range,x_range) in one cell and =INTERCEPT(y_range,x_range) in another, replacing the placeholders with your data ranges.