Hi Amanda,
If I understood correctly your question, here is my solution.
=IF(C3=H3,SUM(F3:I3,G3:J3),0)
if C = H column condition achieved give me the result as sum of F to I col and G to J coluumn. if not give me result as 0
Let me know if it gives you the solution.
attached the solution for the same.