Fix LINEST Returning #VALUE! or Only the Slope in Excel 2016 for Mac
Question details
Enter a LINEST array formula in Excel 2016 for Mac and display all requested regression results.

- Product
- Microsoft Excel 2016 for Mac
- Device & OS
- Mac, macOS version not provided
- Scenario
- The user wants LINEST to return regression results across multiple cells.
- Observed behavior
- LINEST may return only the slope or show #VALUE! when the older Excel 2011 array-formula shortcut is used.
Identify the ranges containing your known y-values and x-values, and make sure they contain matching numbers of observations. Check whether your Excel regional settings use commas or semicolons to separate formula arguments.
Enter LINEST with the Excel 2016 for Mac array shortcut
Use this method to return the slope and intercept in separate cells instead of using the older Excel 2011 shortcut.
In the worksheet, select two adjacent horizontal cells for the slope and intercept of a regression with one x-variable.
Type =LINEST(B2:B11,A2:A11,TRUE,FALSE), replacing the ranges with your y-values and x-values. If your regional settings require semicolons, use them instead of commas.
Press Command+Shift+Return or Control+Shift+Return while the output range is selected. Do not use the Excel 2011 shortcut Command+Return.
Turn off Show Formulas in Excel for Mac
Use this setting if the LINEST formula appears in the cells instead of numerical results.
Work with Regression Formulas in WPS Spreadsheet
WPS Office is a free, lightweight alternative with a familiar spreadsheet interface. Open compatible Excel files to continue working with formulas and make migration easier; it does not change Excel's array-formula shortcuts.

Frequently Asked Questions
Why does LINEST show only the slope?
In Excel 2016 for Mac, select the full output range before entering LINEST, then press Command+Shift+Return or Control+Shift+Return. For one x-variable, select two horizontal cells to return the slope and intercept.
What shortcut replaces Command+Return for array formulas?
In Excel 2016 for Mac, confirm an array formula with Command+Shift+Return or Control+Shift+Return. Command+Return was used in Excel 2011.
Why can I see the LINEST formula instead of its result?
Choose Excel > Preferences > View and clear Formulas under Show in Workbook.
How many cells do I need for LINEST statistics?
For one x-variable, select five rows by two columns and set the final LINEST argument to TRUE before confirming the array formula.
Should I use commas or semicolons in LINEST?
Use the argument separator required by your Excel regional settings. For example, some configurations require semicolons in place of commas.




