Mac Numbers 3.6.1: Averageif Function
Hi,
I need some help with using the Averageif function in Numbers 3.6.1.
In this example, I am trying to find the sum of the masses of the students who are shorter than 160 cm (to which it should return 150, since only students 1, 3 and 4 fit the criterion, and the sum of their masses is 40 + 50 + 60 = 150). As seen in cell E4, I have put in the formula =SUMIF(Height (cm), <160, Mass (kg)) but when I press return, it tells me that "The formula contains a syntax error". What have I done wrong?
In cell E3, I put in =SUMIF(Height (cm), 170, Mass (kg)) to which it correctly returned 120 (only students 2 and 5 have height 170 cm, and the sum of their masses is 50 + 70 = 120). So is it just that I am not allowed to use the < argument? If so, is there any way around it?
Thanks