Thread: SumIf Question
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Ronda Ronda is offline
external usenet poster
 
Posts: 17
Default SumIf Question

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)