SUMIF between 2 amounts, eg 51>x> -51

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to sum a corresponding number in column C if the cell in column D is
between + -50.
 
Hi
one
way:
=SUMIF(D:D,">-50",C:C)-SUMIF(D:D,">=50",C:C)

or try
=SUMRODUCT(--(D1:D100>-50),--(D1:D100<50),C1:C100)
 
=SUMIF(D:D,">="&E2,C:C)-SUMIF(D:D,">"&F2,C:C)

where E2 houses -50 and F2 +50.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top