ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   SUMIF (https://www.excelbanter.com/excel-worksheet-functions/196619-sumif.html)

Brad Bross

SUMIF
 
I have a formula with criteria which excludes "0148" from the sum.
=SUMIF(E$51:E$56,"<0148",O$51:O$56). I would also like a formula which
would exclude both "0148" and "0101" from the sum. I tried many variations
e.g. =SUMIF(E$51:E$56,"<0101AND<0148",O$51:O$56) to get this to work and
cannot obtain the correct results. Thx for your help.

Brad Bross


Gary''s Student

SUMIF
 
=SUM(O$51:O$56)-SUMIF(E$51:E$56,"=0148",O$51:O$56)-SUMIF(E$51:E$56,"=0101",O$51:O$56).
--
Gary''s Student - gsnu200796

JBoyer

SUMIF
 
I'm sure there could be simpler ways but you could always just use
=SUMIF(E$51:E$56,"<0148",O$51:O$56)-SUMIF(E$51:E$56,"=0101",O$51:O$56) .
That should give you the correct results.

"Brad Bross" wrote:

I have a formula with criteria which excludes "0148" from the sum.
=SUMIF(E$51:E$56,"<0148",O$51:O$56). I would also like a formula which
would exclude both "0148" and "0101" from the sum. I tried many variations
e.g. =SUMIF(E$51:E$56,"<0101AND<0148",O$51:O$56) to get this to work and
cannot obtain the correct results. Thx for your help.

Brad Bross


RagDyeR

SUMIF
 
Try this:

=Sumproduct((E51:E56<0101)*(E51:E56<0148)*O51:O5 6)


--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"Brad Bross" wrote in message
...
I have a formula with criteria which excludes "0148" from the sum.
=SUMIF(E$51:E$56,"<0148",O$51:O$56). I would also like a formula which
would exclude both "0148" and "0101" from the sum. I tried many variations
e.g. =SUMIF(E$51:E$56,"<0101AND<0148",O$51:O$56) to get this to work and
cannot obtain the correct results. Thx for your help.

Brad Bross



Brad Bross

SUMIF
 
All of your replies worked ! Thx so much for your help.
--
Brad Bross


"Brad Bross" wrote:

I have a formula with criteria which excludes "0148" from the sum.
=SUMIF(E$51:E$56,"<0148",O$51:O$56). I would also like a formula which
would exclude both "0148" and "0101" from the sum. I tried many variations
e.g. =SUMIF(E$51:E$56,"<0101AND<0148",O$51:O$56) to get this to work and
cannot obtain the correct results. Thx for your help.

Brad Bross


RagDyeR

SUMIF
 
We all appreciate the feed-back.
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Brad Bross" wrote in message
...
All of your replies worked ! Thx so much for your help.
--
Brad Bross


"Brad Bross" wrote:

I have a formula with criteria which excludes "0148" from the sum.
=SUMIF(E$51:E$56,"<0148",O$51:O$56). I would also like a formula which
would exclude both "0148" and "0101" from the sum. I tried many
variations
e.g. =SUMIF(E$51:E$56,"<0101AND<0148",O$51:O$56) to get this to work
and
cannot obtain the correct results. Thx for your help.

Brad Bross





All times are GMT +1. The time now is 09:37 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com