PlanMaker SLOPE: Argument Order, Units and Least-Squares Examples
Use PlanMaker SLOPE with y values first, reconstruct a least-squares line and check units, reversed regression and the official resistor example.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
SLOPE estimates how much a response changes for a one-unit increase in an input, using a least-squares best-fit line. Its argument order matters: supply the response values first and the input values second.
Availability and version history
- Introduced: Documented by the PlanMaker 2010 manual; the first introduction release is not established.
- Availability: Documented in PlanMaker 2026; this is not a final working-version endpoint.
- Scope: The reference belongs to the 2026/NX manual family. Individual FreeOffice and mobile-build availability remains unverified.
- Checked: October 14, 2026, against the official function reference. Examples use vendor results and independent calculations; no native PlanMaker test was performed.
Syntax and interpretation
=SLOPE(y_values, x_values)
Both arguments are required; normally each is a cell range. The official reference identifies y as the dependent variable, x as the independent variable and the method as least squares. It specifically warns about the y-first argument order.
A slope of 0.8 orders per hour is not a correlation of 0.8. The units follow the measurements. A slope can be negative, zero, or greater than 1 in magnitude.
The short function entry does not give comprehensive mixed-type rules or exact error codes. Use aligned, complete numeric pairs, and do not transfer another function’s coercion rules to SLOPE. Formulas here use English names and commas.
Example: output versus work hours
Create OutputTrend with the following table in A1:B5. Reserve C:E for centered calculations and I for summaries.
| Row | A: Hours, x | B: Orders, y |
|---|---|---|
| 2 | 2 | 3 |
| 3 | 4 | 7 |
| 4 | 6 | 5 |
| 5 | 8 | 9 |
In I2 enter =SLOPE(B2:B5,A2:A5). The expected result is 0.8 orders per hour. This estimates an average linear trend through all four observations; it is not the change between just the first and last rows.
Rebuild the slope:
- I4:
=AVERAGE(A2:A5)returns 5. - I5:
=AVERAGE(B2:B5)returns 6. - Put dx, dx×dy, dx² in C1:E1.
- Enter
=A2-$I$4,=C2*(B2-$I$5)and=C2^2in C2:E2, respectively. Fill to row 5.
| Row | dx | dx×dy | dx² |
|---|---|---|---|
| 2 | -3 | 9 | 9 |
| 3 | -1 | -1 | 1 |
| 4 | 1 | -1 | 1 |
| 5 | 3 | 9 | 9 |
In I7 enter =SUM(D2:D5)/SUM(E2:E5). The ratio 16/20 = 0.8 checks I2 independently. In I8 enter =I5-I2*I4; the intercept is 2, so the fitted line is Orders = 2 + 0.8*Hours.
Put Fitted orders in G1 and Residual in H1. Enter =$I$8+$I$2*A2 in G2 and =B2-G2 in H2; fill both through row 5.
| Row | Fitted orders | Residual |
|---|---|---|
| 2 | 3.6 | -0.6 |
| 3 | 5.2 | 1.8 |
| 4 | 6.8 | -1.8 |
| 5 | 8.4 | 0.6 |
The fitted values need not be whole numbers even though orders are counts. In I10, =I8+I2*6 estimates 6.8 at six hours. In I11, =I8+I2*10 estimates 10 at ten hours, beyond the observed 2–8 hour range. That extrapolation requires an assumption that the same linear trend continues.
Swapping arguments is not generally taking a reciprocal
On OutputTrend, put =SLOPE(A2:A5,B2:B5) in K2. It gives 0.8 hours per order. Put =1/I2 in K3; it gives 1.25, which differs.
The two regressions minimize residuals in different directions. Because the points do not lie exactly on a line, reversing dependent and independent variables does not simply invert the fitted coefficient. Choose the argument order from the question you want the model to answer.
Unit conversion and a shifted origin
Put Minutes in M1 and Hours minus two in N1. Enter =A2*60 in M2 and =A2-2 in N2, filling each to row 5.
| Cell | Formula | Expected result |
|---|---|---|
| P2 | =SLOPE(B2:B5,M2:M5) |
0.013333333 |
| P3 | =P2*60 |
0.8 |
| P4 | =SLOPE(B2:B5,N2:N5) |
0.8 |
| P5 | =AVERAGE(B2:B5)-P4*AVERAGE(N2:N5) |
3.6 |
The first slope has orders-per-minute units. Subtracting two hours changes the intercept to 3.6, while preserving the slope and all fitted responses. This distinction helps explain why a meaningful intercept depends on where x = 0 is defined.
Reproduce PlanMaker’s resistor example
Create Resistor and enter these values in A1:B5:
| Temperature | Resistance |
|---|---|
| 8 | 261 |
| 20 | 508 |
| 25 | 608 |
| 28 | 680 |
With headers in row 1, enter =SLOPE(B2:B5,A2:A5) in D2. The independent result is 19335/931, approximately 20.767991407, which rounds to the reference’s 20.76799. The source does not label the temperature or resistance units; keep the units from your own measurements when interpreting a real data set.
Troubleshooting and model limits
A constant x range makes the slope’s denominator zero. The cited page does not document the exact native error for this case, mismatched ranges or every nonnumeric input. Check the data rather than relying on an assumed error token.
A fitted slope alone does not describe prediction uncertainty, prove causation or show whether a curve would fit better. Inspect paired observations and residuals, especially before extrapolating. No claim of cross-platform numerical identity follows from the shared function name.