Adds the cells specified by a given criteria
=SUMIF(range, criteria, [sum_range])
=SUMIF(A1:A10, ">5", B1:B10)