Perhaps
=SUMIF(B3:F3,"criteria",C3:G3)
There is not enough information in your post to know if that will work for what you need.
see reply aboveWhat result do you want from that data?
Could you post some more examples with the desired result. There aren't any numbers there, so SUMIF wouldn't be the solution.