DPRODUCT

Multiplies the values in a column of a list or database that match conditions that you specify.