Please can someone help.
I have been using the following formula =SUMIF(B4:B35,">3",F4:F35)
Column B is the gas % and column F pressure so it would add up all the
pressures of gas more than 3%.
What I wish to do is do the same thing but stipulte >3 but <10 so it will
add the pressures larger than 3 but smaller than 10. Can anyone assist please
Ragdyer - 30 Mar 2008 21:37 GMT
One way:
=Sumproduct((B4:B35>3)*(B4:B35<10)*F4:F35)

Signature
HTH,
RD
---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
> Please can someone help.
> I have been using the following formula =SUMIF(B4:B35,">3",F4:F35)
> Column B is the gas % and column F pressure so it would add up all the
> pressures of gas more than 3%.
> What I wish to do is do the same thing but stipulte >3 but <10 so it will
> add the pressures larger than 3 but smaller than 10. Can anyone assist please
Mark - 31 Mar 2008 12:18 GMT
Thank you for the help, it worked, you have saved me a lot of time.
> One way:
>
[quoted text clipped - 6 lines]
> > add the pressures larger than 3 but smaller than 10. Can anyone assist
> please
RagDyeR - 31 Mar 2008 15:55 GMT
You're welcome, and your feed-back is appreciated.

Signature
Regards,
RD
-----------------------------------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
-----------------------------------------------------------------------------------------------
Thank you for the help, it worked, you have saved me a lot of time.
"Ragdyer" wrote:
> One way:
>
[quoted text clipped - 7 lines]
> > add the pressures larger than 3 but smaller than 10. Can anyone assist
> please
David Biddulph - 30 Mar 2008 22:13 GMT
You might try
=SUMIF(B4:B35,">3",F4:F35)-SUMIF(B4:B35,">=10",F4:F35)
--
David Biddulph
> Please can someone help.
> I have been using the following formula =SUMIF(B4:B35,">3",F4:F35)
[quoted text clipped - 3 lines]
> add the pressures larger than 3 but smaller than 10. Can anyone assist
> please
Mark - 31 Mar 2008 12:17 GMT
Thank you for the help, but I could not get it to work
> You might try
> =SUMIF(B4:B35,">3",F4:F35)-SUMIF(B4:B35,">=10",F4:F35)
[quoted text clipped - 8 lines]
> > add the pressures larger than 3 but smaller than 10. Can anyone assist
> > please
Teethless mama - 30 Mar 2008 23:02 GMT
=SUM(SUMIF(A4:A35,{">3",">=10"},F4)*{1,-1})
> Please can someone help.
> I have been using the following formula =SUMIF(B4:B35,">3",F4:F35)
> Column B is the gas % and column F pressure so it would add up all the
> pressures of gas more than 3%.
> What I wish to do is do the same thing but stipulte >3 but <10 so it will
> add the pressures larger than 3 but smaller than 10. Can anyone assist please
Mark - 31 Mar 2008 12:16 GMT
Thank you for the help, but It did not work
> =SUM(SUMIF(A4:A35,{">3",">=10"},F4)*{1,-1})
>
[quoted text clipped - 4 lines]
> > What I wish to do is do the same thing but stipulte >3 but <10 so it will
> > add the pressures larger than 3 but smaller than 10. Can anyone assist please