SKEW in ONLYOFFICE: Adjusted Sample Skewness and Its Sign
Understand SKEW with small datasets, reconstructed arithmetic and exact-source input and error caveats.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
=SKEW(A2:A6) has the independent target 1.69705627484771. It is an adjusted sample skewness for the five numeric durations; the positive value reflects the long right-hand observation at 10.
Syntax
SKEW(number1, [number2], ...)
Enter five fictional task durations
Create ShapeData. Put Duration in A1 and enter numeric values 1,2,3,4,10 in A2:A6, measured in minutes. These five observations are deliberately small enough to reconstruct the calculation; they are not a representative study or proof of a distributional model.
Their mean is 4. The deviations are −3,−2,−1,0,6. The sums of squared, cubed and fourth-power deviations are respectively 50,180,1394. In C1:E1 enter Squared, Cubed and Fourth. Put =(A2-AVERAGE($A$2:$A$6))^2, =(A2-AVERAGE($A$2:$A$6))^3 and =(A2-AVERAGE($A$2:$A$6))^4 in C2:E2 and fill through row 6. Summing each helper column reconstructs those totals.
Keep the original numeric values unchanged when adding controls. For typed-input tests, place the literal text note in H2, the logical value TRUE in H3, leave H4 genuinely empty, and put =1/0 in H5. These are different cell types, not four interchangeable missing-value markers. The expected source behavior of references can differ from literal arguments.
Separate sample adjustment from population moments
The official reference accepts a list of numbers or ranges. In the pinned implementation, SKEW uses the sample standard deviation and a finite-sample factor. SKEW.P instead uses the population central-moment coefficient.
Positive skewness describes a positive third standardized moment; negative skewness describes a negative one. A zero result does not prove symmetry or normality. It is possible for different asymmetric shapes to have a zero third moment, and a small sample can give an unstable estimate of population shape.
Reconstruct the result
For n numeric values, sample standard deviation s and mean x̄, the formula is:
n/[(n−1)(n−2)] × Σ((x−x̄)/s)^3
For the five durations, s²=50/4=12.5, so s≈3.53553390593274. The cubed-deviation sum is 180. Multiplying 180/s³ by 5/(4×3) gives approximately 1.69705627484771.
The population-moment coefficient for the same values is (180/5)/(50/5)^(3/2)≈1.13841995766062. The ratio from SKEW.P to SKEW is √(n(n−1))/(n−2), which for n=5 is √20/3. The two names are not interchangeable aliases.
Worked transformations
| Formula | Independent target |
|---|---|
=SKEW(A2:A6) |
1.69705627484771 |
=SKEW(1,2,3,4,5) |
0 |
=SKEW(11,12,13,14,20) |
1.69705627484771 |
=SKEW(2,4,6,8,20) |
1.69705627484771 |
=SKEW(-1,-2,-3,-4,-10) |
-1.69705627484771 |
Adding a constant or multiplying by a positive constant preserves skewness. Multiplying by a negative constant reverses it. These are mathematical controls for a standardized third moment, not new application observations.
Advanced: keep shape and scale separate
The data’s mean is 4 minutes, but skewness has no units. Changing minutes to seconds does not multiply the skewness by 60. Conversely, a large positive skewness does not directly tell you the average duration or the probability of exceeding a threshold.
For an operational report, retain count, mean and a measure of spread alongside the raw data rather than presenting skewness alone. Choosing the sample adjustment reflects the statistic’s definition; it does not make biased data representative or remove dependence between observations. A zero result for the evenly spaced control is a diagnostic identity, not a normality test.
Source filtering and degenerate inputs
The source selects numeric values from ranges and arrays and ignores text, logicals and blanks. It also ignores direct string, logical and empty arguments, rather than universally coercing them. Thus =SKEW(A2:A6,TRUE) remains the five-value result in this implementation. A real numeric zero is included and must not be confused with an empty cell.
Errors within ranges or explicit arrays propagate. However, the separate single-reference branch keeps only numbers and can skip an error-valued referenced cell. A direct error argument is propagated. Do not generalize one branch’s behavior into a universal “ignores errors” rule. Avoid changing a range to a list of single references merely to conceal invalid inputs.
The shared helper rejects two or fewer numeric observations with #DIV/0!. Zero spread also leads to a nonfinite standardized sum and #DIV/0!. Therefore =SKEW(1,2) and =SKEW(2,2,2) are source-predicted #DIV/0!. Three varying observations pass the count guard, but such a small sample remains a weak basis for estimating a population’s shape.
Array-related metadata and lazy-tail handling in the source do not establish a native spill workflow. These examples use explicit scalar results and preserve the input dataset for independent arithmetic checks.
Version, precision and verification
Checked October 18, 2026 against current official help and SDKJS tag v10.0.0.169, commit 3679e0375a758d7dc59d31337a45461be3525ed8. Introduction dates and a final supported-version endpoint are not established. Desktop Editors, Docs, mobile releases and imported files require separate compatibility checks.
Neither the ONLYOFFICE application nor its calculation engine was executed for this guide. The numerical targets are independently calculated mathematical values; code-path and error observations are manual source traces. They are not screenshots, displayed workbook results or promises of identical final digits. Use English function names and comma separators as shown, adapting separators to the editor’s locale.
Keep inputs and intermediate probabilities numeric and unrounded. Format the display rather than replacing values with rounded strings. These moderate scalar examples do not certify extreme-tail accuracy, unusual type coercion, array entry or dynamic spill. Model assumptions must be checked separately from arithmetic correctness.
References and related guides
- Official SKEW help, checked October 18, 2026.
- Pinned implementation.
- Shared skewness helper.
- Numeric wrapper and error conversion.
- KURT.
- SKEW.P.
- TRIMMEAN.
- PROB.