LARGE
Quirk foundCategory: Statistical · Last tested 2026-07-04
Support matrix
| Engine | Documented | Live-tested | Verdict |
|---|---|---|---|
| Excel | Yes | Not yet | n/a |
| Google Sheets | Yes | Not yet | n/a |
| LibreOffice Calc | Yes | Yes (24.2.7.2, 2026-07-04) | Quirk found |
Discovered quirks
- =LARGE(A1:A5,6) on LibreOffice Calc returned #VALUE!, but the documented/expected result is #NUM!. Only 5 values exist; requesting the 6th-largest is out of range; MISMATCH vs expected: expected '#NUM!', got '#VALUE!'
- =LARGE(A1:A3,0) on LibreOffice Calc returned #VALUE!, but the documented/expected result is #NUM!. MISMATCH vs expected: expected '#NUM!', got '#VALUE!'
Executed test cases
LibreOffice Calc 24.2.7.2 (tested 2026-07-04)
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =LARGE(A1:A5,2) | 2nd largest value in the range | 8 | 8 | Matched |
| =LARGE(A1:A5,1) | k=1 returns the same value as MAX | 9 | 9 | Matched |
| =LARGE(A1:A5,6) | k larger than the count of values -> #NUM! | #VALUE! | #NUM! Only 5 values exist; requesting the 6th-largest is out of range |
Mismatch |
| =LARGE(A1:A3,0) | k=0 is also out of the valid 1..n range -> #NUM! | #VALUE! | #NUM! | Mismatch |
Docs & syntax
- Excel: official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation