R
Ronda
I have a spreadsheet that I need to do a calculation if the answer is yes or
"Y". I put the formula below in and it works correctly for the "N" formula.
If the answer is "Y" the formula does not give me the sum of F1+G1 (actually
"-" but I put the number in as a negative) but the total of F1 instead.
=SUMIF(H1,"Y",F1:G1)+SUMIF(H1,"N",F1)
"Y". I put the formula below in and it works correctly for the "N" formula.
If the answer is "Y" the formula does not give me the sum of F1+G1 (actually
"-" but I put the number in as a negative) but the total of F1 instead.
=SUMIF(H1,"Y",F1:G1)+SUMIF(H1,"N",F1)