COVARIANCE.S
Supported, behaves as documentedCategory: Statistical · Last tested 2026-08-06
Real, executed compatibility results for the COVARIANCE.S function across Microsoft Excel, Google Sheets, and LibreOffice Calc — verified by actually running it. Syntax and links to each vendor’s official documentation are below.
Support matrix
| Engine | Documented | Live-tested | Verdict |
|---|---|---|---|
| Excel | Yes | Not yet | n/a |
| Google Sheets | Yes | Not yet | n/a |
| LibreOffice Calc | Yes | Yes (25.8.7.3, 2026-08-06) | Supported, behaves as documented |
Executed test cases
LibreOffice Calc 25.8.7.3 (tested 2026-08-06)
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =COVARIANCE.S(A1:A5,B1:B5) | Sample covariance (divides by n-1) of two perfectly co-varying columns (B = 2A) | 5 | 5 | Matched |
| =COVARIANCE.S(A1:A3,B1:B3) | When one variable never changes there is no covariance | 0 | 0 | Matched |
Docs & syntax
- Excel: official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation