mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-20 07:09:21 +00:00
2259de578b
* Extract LookupRef\INDEX() into index() method of LookupRef\Matrix class Additional tests * Bugfix for returning a column using INDEX() * Some improvements to ROW() and COLUMN() * Simplify some of the INDEX() logic, eliminating redundant code
36 lines
520 B
PHP
36 lines
520 B
PHP
<?php
|
|
|
|
return [
|
|
[
|
|
1,
|
|
null,
|
|
],
|
|
[
|
|
10,
|
|
'C10',
|
|
],
|
|
[
|
|
[[10], [11], [12]],
|
|
'C10:C12',
|
|
],
|
|
[
|
|
[[10], [11], [12]],
|
|
'C10:D12',
|
|
],
|
|
[
|
|
4,
|
|
[
|
|
4 => ['B' => 'B5', 'C' => 'C5', 'D' => 'D5'],
|
|
5 => ['B' => 'B5', 'C' => 'C5', 'D' => 'D5'],
|
|
],
|
|
],
|
|
[
|
|
[[10], [11], [12]],
|
|
'Sheet1!C10:C12',
|
|
],
|
|
[
|
|
[[10], [11], [12]],
|
|
'"WorkSheet #1"!C10:C12',
|
|
],
|
|
];
|