VAR
Supported, behaves as documentedCategory: Compatibility · Last tested 2026-08-06
Real, executed compatibility results for the VAR 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 |
|---|---|---|---|---|
| =VAR(2,4,6) | Sample variance (divides by n-1) of three evenly spaced values | 4 | 4 | Matched |
| =VAR(A1:A5) | Sample variance read from a cell range | 10 | 10 | Matched |
| =VAR(10,20) | Two values 5 either side of the mean give a sample variance of 50 | 50 | 50 | Matched |
| =VAR(A1:A4) | Text and blank cells are ignored rather than counted | 4 | 4 | Matched |
Docs & syntax
- Excel: official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation