D
David Lipetz
I'm using the SUMIF function to add numbers in a range that meet a given
criteria. The criteria I need to use is a range of numbers (>=1 and <=5, >=6
and <=10, etc).
While I have been able to perform this calculation by hard coding in the
parameters (">=1" and ">5" for example), I am unable to complete the formula
if I want to use cell references for the criteria.
Here is the whole formula that currently works by hard coding in the
criteria:
=COUNTIF(Revised!$A$2:$A$336,">=1")-COUNTIF(Revised!$A$2:$A$336,">5")
In other words, I want to use >=G2 rather than >=1 and use >I2 rather than
How do I accomplish this?
Thanks,
David
criteria. The criteria I need to use is a range of numbers (>=1 and <=5, >=6
and <=10, etc).
While I have been able to perform this calculation by hard coding in the
parameters (">=1" and ">5" for example), I am unable to complete the formula
if I want to use cell references for the criteria.
Here is the whole formula that currently works by hard coding in the
criteria:
=COUNTIF(Revised!$A$2:$A$336,">=1")-COUNTIF(Revised!$A$2:$A$336,">5")
In other words, I want to use >=G2 rather than >=1 and use >I2 rather than
How do I accomplish this?
Thanks,
David