PhpSpreadsheet/tests/data/Calculation/MathTrig/SUMIFS.php
marcusblevin 98d10475f2
SUMIFS sum values only once
Values were summed multiple times if it matched several conditions
whereas it should only be summed once.

Fixes #704
Fixes #710
2018-10-28 13:09:08 +11:00

45 lines
579 B
PHP

<?php
return [
[
2,
[
[1],
[1],
[1],
],
[
['Y'],
['Y'],
['N'],
],
'=Y',
[
['H'],
['H'],
['H'],
],
'=H',
],
[
1,
[
[1],
[1],
[1],
],
[
['A'],
['B'],
['C'],
],
'=B',
[
['C'],
['B'],
['A'],
],
'=B',
],
];