Adds the cells specified by a given criteria

Column 1

SUMIF

Column 2

SUMIF(range, criteria, [sum_range])