I want to be able to SUMIF, five SUMIFS statments. The total of each SUMFS statement only gets included in the total if it is >0 are >0, so if the result of any individual SUMIFS statement is <0, it doesn't get included in the main SUMIF total.
So, if
=SUMIFS($AS$3:$AS$4372,$G$3:$G$4372,$G648,$CI$3:$CI$4372,$CI648) were to equal 120
=SUMIFS($AY$3:$AY$4372,$G$3:$G$4372,$G648,$CI$3:$CI$4372,$CI648) were to equal -250
=SUMIFS($BE$3:$BE$4372,$G$3:$G$4372,$G648,$CI$3:$CI$4372,$CI648) were to equal 32
=SUMIFS($BK$3:$BK$4372,$G$3:$G$4372,$G648,$CI$3:$CI$4372,$CI648) were to equal 152
=SUMIFS($BR$3:$BR$4372,$G$3:$G$4372,$G648,$CI$3:$CI$4372,$CI648) were to equal 48
Then I need a SUMIF that would return 352, because the 2nd SUMIF statement results in a value <0, it doesn't gt included in the total. I don't seem to be able to SUMIF several SUMIFS statements. Is there another way to do this? I'm trying to avoid using an IF statement, because I just need the total to then use in a larger formula and I don't have true and false outcomes.
Many thanks
Bookmarks