#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default 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
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 72
Default 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

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default 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


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default 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



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default 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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" Harry Seymour Excel Worksheet Functions 9 June 12th 07 10:47 PM
Embedding a Sumif in a sumif C.Pflugrath Excel Worksheet Functions 5 August 31st 05 07:31 PM
Sumif Dee Excel Worksheet Functions 1 August 10th 05 01:33 AM
nested sumif or sumif with two criteria dshigley Excel Worksheet Functions 5 April 5th 05 03:34 AM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"