DAVERAGE

17:26:30 Returns the average of selected database entries.
17:26:30 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) } } 17:26:30 Criteria
array(2) { [1]=> array(2) { ["A"]=> string(4) "Tree" ["B"]=> string(6) "Height" } [2]=> array(2) { ["A"]=> string(6) "=Apple" ["B"]=> string(3) ">10" } } 17:26:30 The Average yield of Apple trees over 10' in height
17:26:30 DAVERAGE() Result is 12
17:26:30 Criteria
array(3) { [1]=> array(1) { ["A"]=> string(4) "Tree" } [2]=> array(1) { ["A"]=> string(6) "=Apple" } [3]=> array(1) { ["A"]=> string(5) "=Pear" } } 17:26:30 The Average age of all Apple and Pear trees in the orchard
17:26:30 DAVERAGE() Result is 12.8