Need to sum a set of number with criteria "SW/**" as a subtotal Something like SUMIF(H2:H470) "SW?**", SUBTOTAL(9, J2:J40))