PhpSpreadsheet/tests/data/Calculation/LookupRef/HLOOKUP.php

299 lines
5.3 KiB
PHP
Raw Normal View History

<?php
return [
[
16.800000000000001,
10251,
[
[
'Order ID',
10247,
10249,
10250,
10251,
10252,
10253,
],
[
'Unit Price',
14.0,
18.600000000000001,
7.7000000000000002,
16.800000000000001,
16.800000000000001,
64.799999999999997,
],
[
'Quantity',
12,
9,
10,
6,
20,
40,
],
],
2,
false,
],
[
6.0,
10251,
[
[
'Order ID',
10247,
10249,
10250,
10251,
10252,
10253,
],
[
'Unit Price',
14.0,
18.600000000000001,
7.7000000000000002,
16.800000000000001,
16.800000000000001,
64.799999999999997,
],
[
'Quantity',
12,
9,
10,
6,
20,
40,
],
],
3,
false,
],
[
'#N/A',
10248,
[
[
'Order ID',
10247,
10249,
10250,
10251,
10252,
10253,
],
[
'Unit Price',
14.0,
18.600000000000001,
7.7000000000000002,
16.800000000000001,
16.800000000000001,
64.799999999999997,
],
[
'Quantity',
12,
9,
10,
6,
20,
40,
],
],
2,
false,
],
[
14.0,
10248,
[
[
'Order ID',
10247,
10249,
10250,
10251,
10252,
10253,
],
[
'Unit Price',
14.0,
18.600000000000001,
7.7000000000000002,
16.800000000000001,
16.800000000000001,
64.799999999999997,
],
[
'Quantity',
12,
9,
10,
6,
20,
40,
],
],
2,
true,
],
[
4,
'Axles',
[
[
'Axles',
'Bearings',
'Bolts',
],
[
4,
4,
9,
],
[
5,
7,
10,
],
[
6,
8,
11,
],
],
2,
true,
],
[
7,
'Bearings',
[
[
'Axles',
'Bearings',
'Bolts',
],
[
4,
4,
9,
],
[
5,
7,
10,
],
[
6,
8,
11,
],
],
3,
false,
],
[
5,
'B',
[
[
'Axles',
'Bearings',
'Bolts',
],
[
4,
4,
9,
],
[
5,
7,
10,
],
[
6,
8,
11,
],
],
3,
true,
],
[
11,
'Bolts',
[
[
'Axles',
'Bearings',
'Bolts',
],
[
4,
4,
9,
],
[
5,
7,
10,
],
[
6,
8,
11,
],
],
4,
],
[
'c',
3,
[
[
1,
2,
3,
],
[
'a',
'b',
'c',
],
[
'd',
'e',
'f',
],
],
2,
true,
],
[
5,
'x',
[
['Selection column', '0', '0', '0', '0', 'x', 'x', 'x', 'x', 'x'],
2020-05-18 04:49:57 +00:00
['Value to retrieve', 1, 2, 3, 4, 5, 6, 7, 8, 9],
],
2,
2020-05-18 04:49:57 +00:00
false,
],
[
2,
'B',
[
['Selection column', 'C', 'B', 'A'],
2020-05-18 04:49:57 +00:00
['Value to retrieve', 3, 2, 1],
],
2,
2020-05-18 04:49:57 +00:00
false,
],
];