SUMIF

L

Leigh McPehrson

The following formula is not working for us:

SUMIF(A4:A2500,200:299,H4:H2500)

What we're trying to do is sum the cells in column H only
if column A is between 200 & 299. The function will
recognize individual (i.e, single) criteria but not as a
range. Anyone got an answer? Do we need more nesting?
 
F

Felipe

Leigh,

You should divide the range:
SUMIF(A4:A2500,"<=299",H4:H2500)-SUMIF
(A4:A2500,">=200",H4:H2500)

Regards,
Felipe
 
P

Peo Sjoblom

One way

=SUMPRODUCT((A4:A2500>=200)*(A4:A2500<300),H4:H2500)

another way

=SUMIF(A4:A2500,">=200",H4:H2500)-SUMIF(A4:A2500,">299",H4:H2500)
 

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

Top