DAVERAGE

Returns the average of selected database entries.


Warning: Trying to access array offset on value of type int in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Cell/DefaultValueBinder.php on line 74

Warning: Trying to access array offset on value of type int in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Cell/DefaultValueBinder.php on line 74

Warning: Trying to access array offset on value of type int in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Cell/DefaultValueBinder.php on line 74

Warning: Trying to access array offset on value of type float in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Cell/DefaultValueBinder.php on line 74

Warning: Trying to access array offset on value of type int in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Cell/DefaultValueBinder.php on line 74

Warning: Trying to access array offset on value of type int in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Cell/DefaultValueBinder.php on line 74

Warning: Trying to access array offset on value of type int in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Cell/DefaultValueBinder.php on line 74

Warning: Trying to access array offset on value of type float in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Cell/DefaultValueBinder.php on line 74

Warning: Trying to access array offset on value of type int in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Cell/DefaultValueBinder.php on line 74

Warning: Trying to access array offset on value of type int in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Cell/DefaultValueBinder.php on line 74

Warning: Trying to access array offset on value of type int in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Cell/DefaultValueBinder.php on line 74

Warning: Trying to access array offset on value of type float in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Cell/DefaultValueBinder.php on line 74

Warning: Trying to access array offset on value of type int in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Cell/DefaultValueBinder.php on line 74

Warning: Trying to access array offset on value of type int in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Cell/DefaultValueBinder.php on line 74

Warning: Trying to access array offset on value of type int in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Cell/DefaultValueBinder.php on line 74

Warning: Trying to access array offset on value of type float in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Cell/DefaultValueBinder.php on line 74

Warning: Trying to access array offset on value of type int in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Cell/DefaultValueBinder.php on line 74

Warning: Trying to access array offset on value of type int in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Cell/DefaultValueBinder.php on line 74

Warning: Trying to access array offset on value of type int in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Cell/DefaultValueBinder.php on line 74

Warning: Trying to access array offset on value of type float in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Cell/DefaultValueBinder.php on line 74

Warning: Trying to access array offset on value of type int in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Cell/DefaultValueBinder.php on line 74

Warning: Trying to access array offset on value of type int in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Cell/DefaultValueBinder.php on line 74

Warning: Trying to access array offset on value of type int in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Cell/DefaultValueBinder.php on line 74

Warning: Trying to access array offset on value of type float in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Cell/DefaultValueBinder.php on line 74

Database

array(7) { [4]=> array(5) { ["A"]=> string(4) "Tree" ["B"]=> string(6) "Height" ["C"]=> string(3) "Age" ["D"]=> string(5) "Yield" ["E"]=> string(6) "Profit" } [5]=> array(5) { ["A"]=> string(5) "Apple" ["B"]=> float(18) ["C"]=> float(20) ["D"]=> float(14) ["E"]=> float(105) } [6]=> array(5) { ["A"]=> string(4) "Pear" ["B"]=> float(12) ["C"]=> float(12) ["D"]=> float(10) ["E"]=> float(96) } [7]=> array(5) { ["A"]=> string(6) "Cherry" ["B"]=> float(13) ["C"]=> float(14) ["D"]=> float(9) ["E"]=> float(105) } [8]=> array(5) { ["A"]=> string(5) "Apple" ["B"]=> float(14) ["C"]=> float(15) ["D"]=> float(10) ["E"]=> float(75) } [9]=> array(5) { ["A"]=> string(4) "Pear" ["B"]=> float(9) ["C"]=> float(8) ["D"]=> float(8) ["E"]=> float(76.8) } [10]=> array(5) { ["A"]=> string(5) "Apple" ["B"]=> float(8) ["C"]=> float(9) ["D"]=> float(6) ["E"]=> float(45) } }

Criteria


Warning: Trying to access array offset on value of type null in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Calculation.php on line 3288
array(2) { [1]=> array(2) { ["A"]=> string(4) "Tree" ["B"]=> string(6) "Height" } [2]=> array(2) { ["A"]=> string(6) "=Apple" ["B"]=> string(3) ">10" } } The Average yield of Apple trees over 10' in height
DAVERAGE() Result is 12

Criteria


Warning: Trying to access array offset on value of type null in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Calculation.php on line 3288
array(3) { [1]=> array(1) { ["A"]=> string(4) "Tree" } [2]=> array(1) { ["A"]=> string(6) "=Apple" } [3]=> array(1) { ["A"]=> string(5) "=Pear" } } The Average age of all Apple and Pear trees in the orchard
DAVERAGE() Result is 12.8