Do you just want to sum for a single row? If so try a formula like this in H2
=IF(A2<>"MTL",SUM(B2:F2),"")
or to sum for multiple rows
=SUMPRODUCT((A2:A100<>"MTL")*B2:F100)
regards, barry