repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Style/Color/ColorChangeBrightness.php
tests/data/Style/Color/ColorChangeBrightness.php
<?php declare(strict_types=1); return [ // RGBA [ 'FFB2C1D1', 'FFAABBCC', 0.1, ], // RGBA [ 'FF92A8BE', 'FFAABBCC', -0.1, ], // RGB [ 'B2C1D1', 'AABBCC', 0.1, ], [ '92A8BE', 'AABBCC', ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/BinaryComparisonOperations.php
tests/data/Calculation/BinaryComparisonOperations.php
<?php declare(strict_types=1); return [ [null, null, '=', true, true], [null, null, '<>', false, false], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Calculation.php
tests/data/Calculation/Calculation.php
<?php declare(strict_types=1); /** @return mixed[] */ function calculationTestDataGenerator(): array { $dataArray1 = [ ['please +', 'please *', 'increment'], [1, 1, 1], // sum is 3 [3, 3, 3], // product is 27 ]; $set0 = [3, $dataArray1, '=IF(A1="please +", SUM(A2:C2), 2)', 'E5']; ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Translations.php
tests/data/Calculation/Translations.php
<?php declare(strict_types=1); return [ [ '=DAGEN360(DATUM(2010;2;5);DATUM(2010;12;31);WAAR)', 'nl', '=DAYS360(DATE(2010,2,5),DATE(2010,12,31),TRUE)', ], [ '=DIAS360(DATA(2010;2;5);DATA(2010;12;31);VERDADEIRO)', 'pt_br', '=DAYS360(DATE(2010,2,5),DATE(2010,12...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/FunctionsAsString.php
tests/data/Calculation/FunctionsAsString.php
<?php declare(strict_types=1); return [ // Note that these are meant to test the parser, not a comprehensive // test of all Excel functions, which tests are handled elsewhere. [6, '=SUM(1,2,3)'], [60, '=SUM(A1:A3)'], [70, '=SUM(A1,A2,A4)'], [41, '=SUM(1,namedCell)'], [50, '=A1+namedCell'],...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/LookupRef/CHOOSECOLS.php
tests/data/Calculation/LookupRef/CHOOSECOLS.php
<?php declare(strict_types=1); return [ 'select last column' => [ [ ['c'], ['f'], ['i'], ['l'], ['o'], ['r'], ['u'], ['x'], ['#'], ], '=CHOOSECOLS(B3:D11, -1)', ], 'select 1 ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/LookupRef/INDEXonSpreadsheet.php
tests/data/Calculation/LookupRef/INDEXonSpreadsheet.php
<?php declare(strict_types=1); return [ 'Single Cell' => [ 1, // Expected [ [1], ], 0, ], 'Row Number omitted' => [ 'exception', // Expected [ [1], ], ], 'Negative Row' => [ '#VALUE!', // Expected [ ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/LookupRef/TAKE.php
tests/data/Calculation/LookupRef/TAKE.php
<?php declare(strict_types=1); return [ 'take last row' => [ [ ['y', 'z', '#'], ], '=TAKE(B3:D11, -1)', ], 'take first 2 rows' => [ [ ['a', 'b', 'c'], ['d', 'e', 'f'], ], '=TAKE(B3:D11, 2)', ], 'take last 2 columns...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/LookupRef/MATCH.php
tests/data/Calculation/LookupRef/MATCH.php
<?php declare(strict_types=1); return [ 'unsorted numeric array still finds match with type 1?' => [ 2, // Expected 2, // Input [2, 0, 4, 3], 1, ], 'unsorted array still finds match with type 1?' => [ 6, 'Amplitude', ['Aardvark', 'Apple', 'A~*e', 'A*...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/LookupRef/COLUMNS.php
tests/data/Calculation/LookupRef/COLUMNS.php
<?php declare(strict_types=1); return [ [ 1, null, ], [ 1, '', ], [ '#VALUE!', 'foo', ], [ 0, [], ], [ 1, [1], ], [ 1, [1, 1], ], [ 2, [[1, 1]], ], ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/LookupRef/EXPAND.php
tests/data/Calculation/LookupRef/EXPAND.php
<?php declare(strict_types=1); return [ 'Add 2 rows' => [ [ ['a', 'b', 'c'], ['d', 'e', 'f'], ['#N/A', '#N/A', '#N/A'], ['#N/A', '#N/A', '#N/A'], ], '=EXPAND(B3:D4, 4)', ], 'Add 1 colun' => [ [ ['a', 'b', 'c', '#N/...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/LookupRef/LOOKUP.php
tests/data/Calculation/LookupRef/LOOKUP.php
<?php declare(strict_types=1); return [ [ // Office reference example #1 'orange', 4.19, [ [4.14], [4.19], [5.17], [5.77], [6, 39], ], [ ['red'], ['orange'], ['yellow'], ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/LookupRef/COLUMN.php
tests/data/Calculation/LookupRef/COLUMN.php
<?php declare(strict_types=1); return [ [ 1, null, ], [ 2, 'B13', ], [ [2, 3, 4], 'B2:D2', ], [ 2, ['B' => 'B5', 'C' => 'C5', 'D' => 'D5'], ], [ [2, 3, 4], 'B2:D3', ], [ [2, 3, 4], ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/LookupRef/INDEX.php
tests/data/Calculation/LookupRef/INDEX.php
<?php declare(strict_types=1); return [ [ [20 => ['R' => 1]], // Expected // Input [20 => ['R' => 1]], ], 'Negative Row' => [ '#VALUE!', // Expected // Input [ 20 => ['R' => 1], 21 => ['R' => 2], ], -1, ], 'Row...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/LookupRef/ROW.php
tests/data/Calculation/LookupRef/ROW.php
<?php declare(strict_types=1); return [ [ 1, null, ], [ 10, 'C10', ], [ [[10], [11], [12]], 'C10:C12', ], [ [[10], [11], [12]], 'C10:D12', ], [ 4, [ 4 => ['B' => 'B5', 'C' => 'C5', 'D' => 'D...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/LookupRef/ROWonSpreadsheet.php
tests/data/Calculation/LookupRef/ROWonSpreadsheet.php
<?php declare(strict_types=1); return [ 'current row' => [3, 'omitted'], 'global name $E$2:$E$6' => [2, 'namedrangex'], 'global name $F$2:$H$2' => [2, 'namedrangey'], 'global name $F$4:$H$4' => [4, 'namedrange3'], 'local name $F$5:$H$5' => [5, 'namedrange5'], 'out of scope name' => ['#NAME?', ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/LookupRef/ROWSonSpreadsheet.php
tests/data/Calculation/LookupRef/ROWSonSpreadsheet.php
<?php declare(strict_types=1); return [ 'global $E$2:$E$6' => [5, 'namedrangex'], 'global $F$2:$H$2' => [1, 'namedrangey'], 'global $F$4:$H$4' => [1, 'namedrange3'], 'local in scope $F$5:$H$5' => [1, 'namedrange5'], 'local out of scope' => ['#NAME?', 'localname'], 'non-existent sheet' => [5, '...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/LookupRef/DROP.php
tests/data/Calculation/LookupRef/DROP.php
<?php declare(strict_types=1); return [ 'drop last row' => [ [ ['a', 'b', 'c'], ['d', 'e', 'f'], ['g', 'h', 'i'], ['j', 'k', 'l'], ['m', 'n', 'o'], ['p', 'q', 'r'], ['s', 't', 'u'], ['v', 'w', 'x'], ], ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/LookupRef/HLOOKUP.php
tests/data/Calculation/LookupRef/HLOOKUP.php
<?php declare(strict_types=1); /** @return array<int, array<int, float|int|string>> */ function orderGrid(): array { return [ ['Order ID', 10247, 10249, 10250, 10251, 10252, 10253], ['Unit Price', 14.00, 18.60, 7.70, 16.80, 16.80, 64.80], ['Quantity', 12, 9, 10, 6, 20, 40], ]; } /** @...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/LookupRef/HYPERLINK.php
tests/data/Calculation/LookupRef/HYPERLINK.php
<?php declare(strict_types=1); use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError; return [ [ ['https://phpspreadsheet.readthedocs.io/en/latest/', 'https://phpspreadsheet.readthedocs.io/en/latest/'], 'https://phpspreadsheet.readthedocs.io/en/latest/', null, ], [ ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/LookupRef/INDIRECT.php
tests/data/Calculation/LookupRef/INDIRECT.php
<?php declare(strict_types=1); return [ 'cell range absolute' => [600, '$A$1:$A$3'], 'cell range on different sheet' => [30, 'OtherSheet!A1:A2'], 'cell range on different sheet absolute' => [60, 'OtherSheet!$A$1:$A$3'], 'cell range relative' => [500, 'A2:A3'], 'global name qualified with correct s...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/LookupRef/ROWS.php
tests/data/Calculation/LookupRef/ROWS.php
<?php declare(strict_types=1); return [ [ 1, null, ], [ 1, '', ], [ '#VALUE!', 'foo', ], [ 0, [], ], [ 1, [1], ], [ 2, [1, 1], ], [ 1, [[1, 1]], ], ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/LookupRef/TRANSPOSE.php
tests/data/Calculation/LookupRef/TRANSPOSE.php
<?php declare(strict_types=1); return [ [ [ ['Jan', 'Feb', 'Mar', 'Apr'], [100, 200, 150, 300], ], [ ['Jan', 100], ['Feb', 200], ['Mar', 150], ['Apr', 300], ], ], [ [ ['a', 'aa'], ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/LookupRef/CHOOSEROWS.php
tests/data/Calculation/LookupRef/CHOOSEROWS.php
<?php declare(strict_types=1); return [ 'select last row' => [ [ ['y', 'z', '#'], ], '=CHOOSEROWS(B3:D11, -1)', ], 'fractional row' => [ [ ['y', 'z', '#'], ], '=CHOOSEROWS(B3:D11, -1.8)', ], 'numeric string row' => [ [...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/LookupRef/ADDRESS.php
tests/data/Calculation/LookupRef/ADDRESS.php
<?php declare(strict_types=1); return [ [ '$C$2', 2, 3, ], [ 'C$2', 2, 3, 2, ], [ '$C2', 2, 3, 3, ], [ 'R2C[3]', 2, 3, 2, false, ], [ 'R[2]C3', ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/LookupRef/FORMULATEXT.php
tests/data/Calculation/LookupRef/FORMULATEXT.php
<?php declare(strict_types=1); return [ [ '#N/A', 2, ], [ '="ABC"', '="ABC"', ], [ '=A1', '=A1', ], [ '=\'Worksheet1\'!A1', '=\'Worksheet1\'!A1', ], [ '=\'Works heet1\'!A1', '=\'Works heet1\'!A1', ]...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/LookupRef/CHOOSE.php
tests/data/Calculation/LookupRef/CHOOSE.php
<?php declare(strict_types=1); return [ [ 'brown', 4, 'red', 'blue', 'green', 'brown', ], [ 'blue', 2, 'red', 'blue', 'green', 'brown', ], [ 'green', 3, 'red', 'blue', 'green', 'brown', ], [ 'red', 1, 'red', 'blue', 'green', '...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/LookupRef/VLOOKUP.php
tests/data/Calculation/LookupRef/VLOOKUP.php
<?php declare(strict_types=1); /** @return array<int, array<int, float|string>> */ function densityGrid(): array { return [ ['Density', 'Viscosity', 'Temperature'], [0.457, 3.55, 500], [0.525, 3.25, 400], [0.616, 2.93, 300], [0.675, 2.75, 250], [0.746, 2.57, 200], ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/LookupRef/COLUMNSonSpreadsheet.php
tests/data/Calculation/LookupRef/COLUMNSonSpreadsheet.php
<?php declare(strict_types=1); return [ 'global $e$2-$e$6' => [1, 'namedrangex'], 'global $f$2:$h$2' => [3, 'namedrangey'], 'global $f$4:$h$4' => [3, 'namedrange3'], 'local in scope $f$5:$i$5' => [4, 'namedrange5'], 'local out of scope' => ['#NAME?', 'localname'], 'non-existent sheet' => [10, ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/LookupRef/OFFSET.php
tests/data/Calculation/LookupRef/OFFSET.php
<?php declare(strict_types=1); return [ [ '#VALUE!', null, ], [ '#REF!', 'B5', ], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/LookupRef/COLUMNonSpreadsheet.php
tests/data/Calculation/LookupRef/COLUMNonSpreadsheet.php
<?php declare(strict_types=1); return [ 'current column' => [2, 'omitted'], 'global name $E$2:$E$6' => [5, 'namedrangex'], 'global name $F$2:$H$2' => [6, 'namedrange3'], 'global name $F$4:$H$4' => [6, 'namedrangey'], 'out of scope name' => ['#NAME?', 'localname'], 'qualified cell existing shee...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/STDEV_ODS.php
tests/data/Calculation/Statistical/STDEV_ODS.php
<?php declare(strict_types=1); return [ [ 27.463915719843, [1345, 1301, 1368, 1322, 1310, 1370, 1318, 1350, 1303, 1299], ], [ '#DIV/0!', ['A', 'B', 'C'], ], [ 0.7071067811865476, [true, false], ], [ 0.577350269190, [true, fals...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/COUNTA.php
tests/data/Calculation/Statistical/COUNTA.php
<?php declare(strict_types=1); use PhpOffice\PhpSpreadsheet\Shared\Date; return [ [ 5, [-1, 0, 1, 2, 3], ], 'null treated differently references vs. direct' => [ [11, 14], [ // The index simulates a cell value '0.1.A' => Date::stringToExcel('1900-02...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/MINA.php
tests/data/Calculation/Statistical/MINA.php
<?php declare(strict_types=1); return [ [ 2, 10, 7, 9, 27, 2, ], [ -7, 10, '-9', -7, '17', 2, ], [ 0, 10, 7, 9, '17', 2, ], [ 1, 10, true, 9, 2, ], [ 0, null, true, 2, false, ], [ 0, ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/WEIBULL.php
tests/data/Calculation/Statistical/WEIBULL.php
<?php declare(strict_types=1); return [ [ 0.929581390070, 105, 20, 100, true, ], [ 0.035588864025, 105, 20, 100, false, ], 'too few arguments' => [ 'exception', 105, 20, 100, ], [ 1.10363832351433, 1, 3, 1, false, ], [...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/TDISTRT.php
tests/data/Calculation/Statistical/TDISTRT.php
<?php declare(strict_types=1); return [ [ 0.027322464988, 1.959999998, 60, ], [ 0.170446566151, 1, 10, ], [ 0.028237990213, 2, 25, ], 'test 1 derived from Perl suite 1-tail' => [ 0.0041301, 6.251, 3, ], 'issue 4167' =>...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/AVERAGE.php
tests/data/Calculation/Statistical/AVERAGE.php
<?php declare(strict_types=1); return [ [ 11, [10, 7, 9, 27, 2], ], [ 10, [10, 7, 9, 27, 2, 5], ], [ 19, [10, 15, 32], ], [ 8.85, [10.5, 7.2], ], [ 19.2, [7.2, 5.4, 45], ], [ 46.24, ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/PERMUT.php
tests/data/Calculation/Statistical/PERMUT.php
<?php declare(strict_types=1); return [ [ 5, 5, 1, ], [ 20, 5, 2, ], [ 60, 5, 3, ], [ 120, 5, 4, ], [ 120, 5, 5, ], [ 970200, 100, 3, ], [ 6, 3, 2, ],...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/STDEVP.php
tests/data/Calculation/Statistical/STDEVP.php
<?php declare(strict_types=1); return [ [ 26.0545581424825, [1345, 1301, 1368, 1322, 1310, 1370, 1318, 1350, 1303, 1299], ], [ '#DIV/0!', ['A', 'B', 'C'], ], [ '#DIV/0!', [true, false], ], [ 0.0, [true, false, 1], ], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/PERCENTRANK.php
tests/data/Calculation/Statistical/PERCENTRANK.php
<?php declare(strict_types=1); return [ [ 0.667, [1, 2, 3, 4], 3, ], [ 0.67, [1, 2, 3, 4], 3, 2, ], [ 0.83, [1, 2, 3, 4], 3.5, 2, ], [ 0.758, [7, 8, 9, 20], 12, ], [ ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/BETAINV.php
tests/data/Calculation/Statistical/BETAINV.php
<?php declare(strict_types=1); return [ [ 1.862243320728, 0.52, 3, 4, 1, 3, ], [ 2.164759759129, 0.3, 7.5, 9, 1, 4, ], [ 2.164759759129, 0.3, 7.5, 9, 4, 1, ], [ 7.761240188783, 0.75, 8, 9, 5, 10, ], [ 2.0, ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/tDotDistFalse.php
tests/data/Calculation/Statistical/tDotDistFalse.php
<?php declare(strict_types=1); return [ [ 0.246526054, 0.9726775350120389, 60, ], 'negative value' => [ 0.05984790643563141, -1.959999998, 60, ], [ 0.23036198922913867, 1, 10, ], [ 0.05736069661390933, 2, 25, ], ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/POISSON.php
tests/data/Calculation/Statistical/POISSON.php
<?php declare(strict_types=1); return [ [ 0.12465201948308113, 2, 5, true, ], [ 0.08422433748856833, 2, 5, false, ], [ 0.05191746860849132, 20, 25, false, ], [ 0.24241419769010333, 35, 40, true, ], [ '#VALUE!',...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/GAMMALN.php
tests/data/Calculation/Statistical/GAMMALN.php
<?php declare(strict_types=1); return [ [ 2.453736570842, 4.5, ], [ 1.791759469228, 4, ], [ '#VALUE!', 'NAN', ], 'Value < 0' => [ '#NUM!', -4.5, ], 'Value = 0' => [ '#NUM!', 0.0, ], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/SKEW.php
tests/data/Calculation/Statistical/SKEW.php
<?php declare(strict_types=1); return [ [ 0.359543071407, [3, 4, 5, 2, 3, 4, 5, 6, 4, 7], ], [ 0.863378312234, [1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 5, 6, 7, 8], ], [ '#VALUE!', [1, 1, 2, 2, 2, 2, 3, 'NaN', 3, 4, 4, 5, 6, 7, 8], ], [ '#DI...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/SMALL.php
tests/data/Calculation/Statistical/SMALL.php
<?php declare(strict_types=1); return [ [ 3, [1, 4, 8, 3, 7, 12, 54, 8, 23], 2, ], [ 4, [3, 4, 5, 2, 3, 4, 6, 4, 7], 4, ], [ 6, ['3', 4, 5, '2', '3', 4, 5, 6, 4, 7], 6, ], [ '#VALUE!', [3, 4, 5, 2, 3, 4...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/TREND.php
tests/data/Calculation/Statistical/TREND.php
<?php declare(strict_types=1); return [ [ [ [133953.33333333334], [134971.51515151517], [135989.69696969696], [137007.87878787878], [138026.0606060606], [139044.24242424243], [140062.42424242425], [141080.60606...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/LOGEST.php
tests/data/Calculation/Statistical/LOGEST.php
<?php declare(strict_types=1); return [ [ [1.000174230092, 1.0], [1, 2, 3, 4, 5], [1, 10, 100, 1000, 10000], false, false, ], [ [1.000091183030, 2.127357620703], [1, 2, 3, 4, 5], [1, 10, 100, 1000, 10000], true, false, ], ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/STEYX.php
tests/data/Calculation/Statistical/STEYX.php
<?php declare(strict_types=1); return [ [ 3.305718950210, [2, 3, 9, 1, 8, 7, 5], [6, 5, 11, 7, 5, 4, 4], ], [ 1.201186346682, [3, 7.9, 8, 9.2, 12, 10.5, 15, 15.5, 17], [1, 2, 3, 4, 4.5, 5, 6, 7, 8], ], [ '#N/A', [], [], ],...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/CHIDISTLeftTail.php
tests/data/Calculation/Statistical/CHIDISTLeftTail.php
<?php declare(strict_types=1); return [ [ 0.520499877813, 0.5, 1, true, ], [ 0.207553748710, 2, 3, false, ], [ 0.111565080074, 3, 2, false, ], [ 0.776869839852, 3, 2, true, ], [ 0.039646370521, 3, 9, fa...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/EXPONDIST.php
tests/data/Calculation/Statistical/EXPONDIST.php
<?php declare(strict_types=1); return [ [ 1.353352832366, 0.2, 10, false, ], [ 0.864664716763, 0.2, 10, true, ], [ 0.606530659713, 0.5, 1, false, ], [ 0.393469340287, 0.5, 1, true, ], [ '#VALUE!', 'NAN'...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/VARPA_ODS.php
tests/data/Calculation/Statistical/VARPA_ODS.php
<?php declare(strict_types=1); return [ [ 678.84, [1345, 1301, 1368, 1322, 1310, 1370, 1318, 1350, 1303, 1299], ], [ 0.25, [true, false], ], [ 0.222222222222, [true, false, 1], ], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/INTERCEPT.php
tests/data/Calculation/Statistical/INTERCEPT.php
<?php declare(strict_types=1); return [ [ 25.0, [5, 10, 15, 20], [12, 9, 6, 3], ], [ -9.0, [1, 2, 3, 4], [10, 11, 12, 13], ], [ 0.0, [10, 20, 30], [10, 20, 30], ], [ 0.048387096774, [2, 3, 9, 1, 8], ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/LARGE.php
tests/data/Calculation/Statistical/LARGE.php
<?php declare(strict_types=1); return [ [ 5, [3, 4, 5, 2, 3, 4, 5, 6, 4, 7], 3, ], [ 4, [3, 4, 5, 2, 3, 4, 5, 6, 4, 7], 7, ], [ 2, [3, 4, '5', 2, 3, 4, '5', '6', 4, '7'], 6, ], [ '#VALUE!', [3, 4, 5, 2,...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/MINIFS.php
tests/data/Calculation/Statistical/MINIFS.php
<?php declare(strict_types=1); return [ 'no argument' => [ 'exception', ], [ 1, [1, 2, 3], ['Y', 'Y', 'N'], '=Y', ['H', 'H', 'H'], '=H', ], [ 1, [1, 2, 3], ['Y', 'Y', 'N'], '=Y', ], [ 2, ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/VARPA.php
tests/data/Calculation/Statistical/VARPA.php
<?php declare(strict_types=1); return [ [ 678.84, [1345, 1301, 1368, 1322, 1310, 1370, 1318, 1350, 1303, 1299], ], [ 0.25, [true, false], ], [ 0.222222222222, [true, false, 1], ], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/RSQ.php
tests/data/Calculation/Statistical/RSQ.php
<?php declare(strict_types=1); return [ [ 0.057950191571, [2, 3, 9, 1, 8, 7, 5], [6, 5, 11, 7, 5, 4, 4], ], [ 0.711666290487, [2, 7, 8, 3, 4, 1, 6, 5], [22.9, 33.49, 34.5, 27.61, 19.5, 10.11, 37.90, 31.08], ], [ '#N/A', [1, 2, 3], ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/VARP.php
tests/data/Calculation/Statistical/VARP.php
<?php declare(strict_types=1); return [ [ 678.84, [1345, 1301, 1368, 1322, 1310, 1370, 1318, 1350, 1303, 1299], ], [ '#DIV/0!', [true, false], ], [ 0.0, [true, false, 1], ], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/VARA_ODS.php
tests/data/Calculation/Statistical/VARA_ODS.php
<?php declare(strict_types=1); return [ [ 754.266666666667, [1345, 1301, 1368, 1322, 1310, 1370, 1318, 1350, 1303, 1299], ], [ 0.5, [true, false], ], [ 0.333333333333, [true, false, 1], ], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/STDEVP_ODS.php
tests/data/Calculation/Statistical/STDEVP_ODS.php
<?php declare(strict_types=1); return [ [ 26.0545581424825, [1345, 1301, 1368, 1322, 1310, 1370, 1318, 1350, 1303, 1299], ], [ '#DIV/0!', ['A', 'B', 'C'], ], [ 0.5, [true, false], ], [ 0.471404520791, [true, false, 1], ], ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/AVERAGEIFS.php
tests/data/Calculation/Statistical/AVERAGEIFS.php
<?php declare(strict_types=1); return [ 'no argument' => [ 'exception', ], [ 80.5, [75, 94, 86, 'incomplete'], [75, 94, 86, 'incomplete'], '>70', [75, 94, 86, 'incomplete'], '<90', ], [ '#DIV/0!', [85, 80, 93, 75], [85...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/TDIST.php
tests/data/Calculation/Statistical/TDIST.php
<?php declare(strict_types=1); return [ [ 0.027322464988, 1.959999998, 60, 1, ], [ 0.054644929976, 1.959999998, 60, 2, ], [ 0.170446566151, 1, 10, 1, ], [ 0.340893132302, 1, 10, 2, ], [ 0.028237990213, ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/LINEST.php
tests/data/Calculation/Statistical/LINEST.php
<?php declare(strict_types=1); use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError; return [ [ [1.0, 0.0], [1, 2, 3, 4, 5], [1, 2, 3, 4, 5], false, false, ], [ [2.310344827586207, 0.0], [1, 9, 5, 7], [0, 4, 2, 3], false, ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/FISHERINV.php
tests/data/Calculation/Statistical/FISHERINV.php
<?php declare(strict_types=1); return [ [ -0.197375320225, -0.2, ], [ 0.0, 0.0, ], [ 0.761594155956, 1.0, ], [ 0.992631520201, 2.8, ], [ 0.7499999990254, 0.9729550723, ], [ '#VALUE!', ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/FDIST.php
tests/data/Calculation/Statistical/FDIST.php
<?php declare(strict_types=1); return [ [ 0.001223791709, 15.2069, 6, 4, false, ], [ 0.990000043003, 15.2069, 6, 4, true, ], [ 0.308000821694, 1, 2, 5, false, ], [ 0.568798849629, 1, 2, 5, true, ], [ 0.02414726...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/COVAR.php
tests/data/Calculation/Statistical/COVAR.php
<?php declare(strict_types=1); return [ [ 5.2, [3, 2, 4, 5, 6], [9, 7, 12, 15, 17], ], [ 16.633125, [2, 7, 8, 3, 4, 1, 6, 5], [22.9, 33.49, 34.5, 27.61, 19.5, 10.11, 37.9, 31.08], ], [ '#N/A', [1, 2, 3], [4, 5], ], [ ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/BINOMDISTRANGE.php
tests/data/Calculation/Statistical/BINOMDISTRANGE.php
<?php declare(strict_types=1); return [ [ 0.083974967429, 60, 0.75, 48, ], [ 0.5236297934719, 60, 0.75, 45, 50, ], [ 0.0284439668205, 100, 0.5, 0, 40, ], [ 0.728746975926, 100, 0.5, 45, 55, ], [ 0.539794618694,...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/MAXA.php
tests/data/Calculation/Statistical/MAXA.php
<?php declare(strict_types=1); return [ [ 27, 10, 7, 9, 27, 2, ], [ 10, 10, 7, 9, '17', 2, ], [ 0, -10, -7, -9, '17', -2, ], [ 1, -10, true, -9, '17', -2, ], [ 1, null, 'STRING', true, '', -2, 0, false,...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/TdotINV.php
tests/data/Calculation/Statistical/TdotINV.php
<?php declare(strict_types=1); return [ [ -1.625583529294314, 0.05464, 60, ], [ -0.699812061, 0.25, 10, ], [ 0.0, 0.5, 10, ], 'issue 4167' => [ -6.313746407466989, 0.05, 1, ], [ 0.5095256881847339, 0.65...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/LOGNORMDIST2.php
tests/data/Calculation/Statistical/LOGNORMDIST2.php
<?php declare(strict_types=1); return [ [0.0390835557068, 4, 3.5, 1.2, true], [0.0176175966818, 4, 3.5, 1.2, false], [0.0162328457851, 0.5, 10, 5, true], [0.0162104821842, 0.5, 10, 5, false], [0.0664171147992, 12, 10, 5, true], [0.0021488646273, 12, 10, 5, false], [0.0201708646513, 8, 7, 2...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/VARA.php
tests/data/Calculation/Statistical/VARA.php
<?php declare(strict_types=1); return [ [ 754.266666666667, [1345, 1301, 1368, 1322, 1310, 1370, 1318, 1350, 1303, 1299], ], [ 0.5, [true, false], ], [ 0.333333333333, [true, false, 1], ], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/MAX.php
tests/data/Calculation/Statistical/MAX.php
<?php declare(strict_types=1); return [ [ 27, 10, 7, 9, 27, 2, ], [ 10, 10, 7, 9, '27', 2, ], [ 0, null, 'STRING', true, '', '27', ], 'error among arguments' => [ '#DIV/0!', 1, 3, '=5/0', -2, ], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/CHIDISTRightTail.php
tests/data/Calculation/Statistical/CHIDISTRightTail.php
<?php declare(strict_types=1); return [ [ 0.964294972685, 3, 9, ], [ 0.4837673815536, 7.5, 8, ], [ 0.050000589092, 18.307, 10, ], [ 0.479500122187, 0.5, 1, ], [ 0.113846298007, 2.5, 1, ], [ ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/GROWTH.php
tests/data/Calculation/Statistical/GROWTH.php
<?php declare(strict_types=1); return [ [ [ [32618.203773539713], [47729.42261474774], [69841.30085621739], [102197.07337883231], [149542.48674004572], [218821.87621459525], ], [33100, 47300, 69000, 102000, 150000, 220...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/tDotDistTrue.php
tests/data/Calculation/Statistical/tDotDistTrue.php
<?php declare(strict_types=1); return [ [ 0.9726775350120389, 1.959999998, 60, ], 'negative value' => [ 0.02732246498796111, -1.959999998, 60, ], [ 0.8295534338489702, 1, 10, ], [ 0.9717620097865514, 2, 25, ], 'test 2 ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/VAR.php
tests/data/Calculation/Statistical/VAR.php
<?php declare(strict_types=1); return [ [ 754.266666666667, [1345, 1301, 1368, 1322, 1310, 1370, 1318, 1350, 1303, 1299], ], [ '#DIV/0!', [true, false], ], [ '#DIV/0!', [true, false, 1], ], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/TRIMMEAN.php
tests/data/Calculation/Statistical/TRIMMEAN.php
<?php declare(strict_types=1); return [ [ 3.777777777778, [4, 5, 6, 7, 2, 3, 4, 5, 1, 2, 3], 0.2, ], [ 9.45, [0.5, 6, 7, 7, 8, 8, 9, 9, 16, 24], 0.15, ], [ 8.75, [0.5, 6, 7, 7, 8, 8, 9, 9, 16, 24], 0.2, ], [ 8....
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/STDEVA.php
tests/data/Calculation/Statistical/STDEVA.php
<?php declare(strict_types=1); return [ [ 27.463915719843, [1345, 1301, 1368, 1322, 1310, 1370, 1318, 1350, 1303, 1299], ], [ '#DIV/0!', [], ], [ 0.707106781187, [true, false], ], [ 0.577350269190, [true, false, 1], ], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/CHITEST.php
tests/data/Calculation/Statistical/CHITEST.php
<?php declare(strict_types=1); return [ [ 0.0152703571482, [[112, 76], [85, 95]], [[100, 85], [70, 90]], ], [ 0.000308192027, [[58, 35], [11, 25], [10, 23]], [[45.35, 47.65], [17.56, 18.44], [16.09, 16.91]], ], [ 0.015888560447, [[58]...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/COUNTIF.php
tests/data/Calculation/Statistical/COUNTIF.php
<?php declare(strict_types=1); return [ [ 2, ['apples', 'oranges', 'peaches', 'apples'], 'apples', ], [ 2, ['ApPlEs', 'oranges', 'peaches', 'APPles'], 'aPpLeS', ], [ 2, [32, 54, 75, 86], '>55', ], [ 3, ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/STANDARDIZE.php
tests/data/Calculation/Statistical/STANDARDIZE.php
<?php declare(strict_types=1); return [ [1.333333333333, 42, 40, 1.5], [0.25, 5.5, 5, 2], [20, 5.5, 1.5, 0.2], [-2.0, 12, 15, 1.5], [-0.4, -2, 0, 5], [-0.676, 63.81, 65.5, 2.5], ['#NUM!', 1.1, -2.2, -3.3], ['#VALUE!', 'NAN', 0.1, 0.2], ['#VALUE!', 0.1, 'NAN', 0.2], ['#VALUE!', ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/STDEV.php
tests/data/Calculation/Statistical/STDEV.php
<?php declare(strict_types=1); return [ [ 27.463915719843, [1345, 1301, 1368, 1322, 1310, 1370, 1318, 1350, 1303, 1299], ], [ '#DIV/0!', ['A', 'B', 'C'], ], [ '#DIV/0!', [true, false], ], [ '#DIV/0!', [true, false, 1], ], ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/BINOMINV.php
tests/data/Calculation/Statistical/BINOMINV.php
<?php declare(strict_types=1); return [ [ 32, 100, 0.3, 0.7, ], [ 4, 6, 0.5, 0.75, ], [ 7, 12, 0.5, 0.75, ], [ 46, 100, 0.5, 0.2, ], [ 50, 100, 0.5, 0.5, ], [ 56, 100, 0.5, 0.9, ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/MEDIAN.php
tests/data/Calculation/Statistical/MEDIAN.php
<?php declare(strict_types=1); return [ [ 8.0, 1, 4.5, 7, 8, 9, 13, 14, ], [ 8.5, 1, 4.5, 7, 8, 9, 13, 14, 12, ], [ 8.0, 1, 4.5, 7, 8, 9, 13, 14, '', ], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/MAXIFS.php
tests/data/Calculation/Statistical/MAXIFS.php
<?php declare(strict_types=1); return [ 'no argument' => [ 'exception', ], [ 2, [1, 2, 3], ['Y', 'Y', 'N'], '=Y', ['H', 'H', 'H'], '=H', ], [ 2, [1, 2, 3], ['Y', 'Y', 'N'], '=Y', ], [ 2, ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/FORECAST.php
tests/data/Calculation/Statistical/FORECAST.php
<?php declare(strict_types=1); return [ [ 10.607253086419, 30, [6, 7, 9, 15, 21], [20, 28, 31, 38, 40], ], [ 11.8937852010975, 5, [10.5, 7.2, 200, 5.4, 8.1], [-3, 4, 120, 2, 7.5], ], [ 20.032698660553, 10, [10....
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/HARMEAN.php
tests/data/Calculation/Statistical/HARMEAN.php
<?php declare(strict_types=1); return [ [ 5.028375962062, 4, 5, 8, 7, 11, 4, 3, ], [ 1.2295081967213, 2.5, 3, 0.5, 1, 3, ], [ '#NUM!', 2.5, -3, 0.5, 1, 3, ], [ '#NUM!', 2.5, 3, 0.0, 1, 3, ], 'no arguments' => [ ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/GAMMA.php
tests/data/Calculation/Statistical/GAMMA.php
<?php declare(strict_types=1); return [ [1.329340388179, 2.5], [0.267865934620, -3.75], [9.513507698669, 0.1], [1.0, 1.0], [0.886226925453, 1.5], [1.3293403881791, 2.5], [17.837861981813, 4.8], [52.342777784553, 5.5], 'Zero value' => ['#NUM!', 0.0], 'Negative integer value' => ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/RANK.php
tests/data/Calculation/Statistical/RANK.php
<?php declare(strict_types=1); return [ [ 2, 3.5, [7, 3.5, 3.5, 2, 1], ], [ 1, 7, [7, 3.5, 3.5, 2, 1], ], [ 3, 3.5, [7, 3.5, 3.5, 1, 2], 1, ], [ 5, 7, [7, 3.5, 3.5, 1, 2], 1, ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/GEOMEAN.php
tests/data/Calculation/Statistical/GEOMEAN.php
<?php declare(strict_types=1); return [ [ 5.47698696965696, 4, 5, 8, 7, 11, 4, 3, ], [ 1.6226711115996, 2.5, 3, 0.5, 1, 3, ], 'no arguments' => [ 'exception', ], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/STDEVA_ODS.php
tests/data/Calculation/Statistical/STDEVA_ODS.php
<?php declare(strict_types=1); return [ [ 27.463915719843, [1345, 1301, 1368, 1322, 1310, 1370, 1318, 1350, 1303, 1299], ], [ '#DIV/0!', [], ], [ 0.7071067811865476, [true, false], ], [ 0.577350269190, [true, false, 1], ],...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/STDEVPA_ODS.php
tests/data/Calculation/Statistical/STDEVPA_ODS.php
<?php declare(strict_types=1); return [ [ 26.0545581424825, [1345, 1301, 1368, 1322, 1310, 1370, 1318, 1350, 1303, 1299], ], [ '#DIV/0!', [], ], [ 0.5, [true, false], ], [ 0.471404520791, [true, false, 1], ], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/LOGINV.php
tests/data/Calculation/Statistical/LOGINV.php
<?php declare(strict_types=1); return [ [ 4.000025209777, 0.039084, 3.5, 1.2, ], [ 6.653346075337, 0.3, 2, 0.2, ], [ 7.135708009256, 0.3, 2.5, 1.02, ], [ '#VALUE!', 'NaN', 2.2, 3.3, ], [ '#VALUE!', 0.1,...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/GnumericCOUNT.php
tests/data/Calculation/Statistical/GnumericCOUNT.php
<?php declare(strict_types=1); return [ 'range does not count bool, null, text string' => [ 3, [ // The index simulates a cell value '0.1.A' => 'A', '0.2.A' => 1, '0.3.A' => true, '0.4.A' => 2.9, '0.5.A' => false, ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/CONFIDENCE.php
tests/data/Calculation/Statistical/CONFIDENCE.php
<?php declare(strict_types=1); return [ [ 0.692951912734, 0.05, 2.5, 50, ], [ 0.48999099653, 0.05, 2.5, 100, ], [ 0.013719747903, 0.05, 0.07, 100, ], [ '#VALUE!', 'NAN', 0.07, 100, ], [ '#NUM!', 1.05, 0...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/ZTEST.php
tests/data/Calculation/Statistical/ZTEST.php
<?php declare(strict_types=1); return [ [ 0.090574196851, [3, 6, 7, 8, 6, 5, 4, 2, 1, 9], 4, ], [ 0.863043389130, [3, 6, 7, 8, 6, 5, 4, 2, 1, 9], 6, ], [ 0.371103278559, [4, 5, 2, 5, 8, 9, 3, 2, 3, 8, 9, 5], 5, ], [ ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/CHIINVRightTail.php
tests/data/Calculation/Statistical/CHIINVRightTail.php
<?php declare(strict_types=1); return [ [ 8.383430828608, 0.3, 7, ], [ 6.737200771955, 0.75, 10, ], [ 0.007716715545, 0.93, 1, ], [ 1.021651247532, 0.6, 2, ], [ 0.45493642312, 0.5, 1, ], [ ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/HYPGEOMDIST.php
tests/data/Calculation/Statistical/HYPGEOMDIST.php
<?php declare(strict_types=1); return [ [ 0.3632610939112, 1, 4, 8, 20, ], [ 0.4525252525252, 1, 4, 4, 12, ], [ 0.3393939393939, 2, 4, 4, 12, ], [ 0.0646464646465, 3, 4, 4, 12, ], [ 0.0020202020202, 4, ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/VAR_ODS.php
tests/data/Calculation/Statistical/VAR_ODS.php
<?php declare(strict_types=1); return [ [ 754.266666666667, [1345, 1301, 1368, 1322, 1310, 1370, 1318, 1350, 1303, 1299], ], [ 0.5, [true, false], ], [ 0.333333333333, [true, false, 1], ], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Statistical/TINV.php
tests/data/Calculation/Statistical/TINV.php
<?php declare(strict_types=1); return [ [ 1.960041187127, 0.05464, 60, ], [ 1.221255395004, 0.25, 10, ], [ 0.699812061312, 0.5, 10, ], 'issue 4167' => [ 12.706204736174712, 0.05, 1, ], [ '#VALUE!', 'NaN...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false