Reputation: 19
don't know how to solve this problem I am hitting my head into the wall for awhile now.... I need to calculate the sum of the profit but ignore cells that have "-0.31" number in them
my formula is:
=SUMIF(J2:J199,"<>-0.31")
what do I do wrong?? Some help, please. Unfortunately, the "-0.31" it's still calculated in this formula.
Upvotes: 0
Views: 591
Reputation: 22896
You can use two separate SUMIF:
=SUMIF(J2:J199,"<-0.315")+SUMIF(J2:J199,">=-0.305")
or
=SUMPRODUCT(J2:J199*(ROUND(J2:J199,2)<>-0.31))
Upvotes: 1