I have the following formula:
=IF(AND(S32="Yes",U32="Yes",W32="Yes",Y32="Yes"),Z32+AA32+AB32+AC32,IF(U32="",Z32,IF(U32="Yes",Z32+AA32,IF(W32="",Z32+AA32,IF(W32="Yes",Z32+AA32+AB32,IF(Y32="",Z32+AA32+AB32,IF(Y32="Yes",Z32+AA32+AB32+AC32,IF(M32="No",0))))))))

The problem is when W32 is "Yes". It does not add the totals in Z32,AA32, &
AB32. However, when S32, U32, W32, & Y32 = "Yes", then the total of all four
cells totals the correct total. There probably is an easier formula.