Place this formula in G1:
=IF(OR(A1=1,C1=1,E1=1),B1+D1+F1,"")
OK, that was not clear from your first post.
So it sounds there is a correlation between A1 and B1, C1 and D1, and E1 and F1.
Try this:
=IF(A1=1,B1,0) + IF(C1=1,D1,0) + IF(E1=1,F1,0)
OK, that was not clear from your first post.
So it sounds there is a correlation between A1 and B1, C1 and D1, and E1 and F1.
Try this:
=IF(A1=1,B1,0) + IF(C1=1,D1,0) + IF(E1=1,F1,0)