#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 173
Default SumIf Help

Hello,

Here is my sumif presently: =SUM(IF(C5:C1000=20%, IF(C5:C1000<30%,1,0))).

What I would like is to add column B to it as well where it looks for a
particular Supervisor and then add together the amount of people between 20
and 29.99%. This is what I would like to add: B5:B1000="John Doe".

Is this possible with sumif or do I need to go another route?

Thank you
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,355
Default SumIf Help

Try this

=SUMPRODUCT(--(C5:C1000=20%),--(C5:C1000<30%),--(B5:B1000="John Doe"))
--
HTH,
Barb Reinhardt



"RoadKill" wrote:

Hello,

Here is my sumif presently: =SUM(IF(C5:C1000=20%, IF(C5:C1000<30%,1,0))).

What I would like is to add column B to it as well where it looks for a
particular Supervisor and then add together the amount of people between 20
and 29.99%. This is what I would like to add: B5:B1000="John Doe".

Is this possible with sumif or do I need to go another route?

Thank you

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default SumIf Help

Try this array formula:

=SUM((B5:B1000="John Doe")*(C5:C1000=20%)*(C5:C1000<30%))

Or, this non-array version:

=SUMPRODUCT(--(B5:B1000="John Doe"),--(C5:C1000=20%),--(C5:C1000<30%))


--
Biff
Microsoft Excel MVP


"RoadKill" wrote in message
...
Hello,

Here is my sumif presently: =SUM(IF(C5:C1000=20%, IF(C5:C1000<30%,1,0))).

What I would like is to add column B to it as well where it looks for a
particular Supervisor and then add together the amount of people between
20
and 29.99%. This is what I would like to add: B5:B1000="John Doe".

Is this possible with sumif or do I need to go another route?

Thank you



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 173
Default SumIf Help

Both of you guys rock. Thanks much.

"T. Valko" wrote:

Try this array formula:

=SUM((B5:B1000="John Doe")*(C5:C1000=20%)*(C5:C1000<30%))

Or, this non-array version:

=SUMPRODUCT(--(B5:B1000="John Doe"),--(C5:C1000=20%),--(C5:C1000<30%))


--
Biff
Microsoft Excel MVP


"RoadKill" wrote in message
...
Hello,

Here is my sumif presently: =SUM(IF(C5:C1000=20%, IF(C5:C1000<30%,1,0))).

What I would like is to add column B to it as well where it looks for a
particular Supervisor and then add together the amount of people between
20
and 29.99%. This is what I would like to add: B5:B1000="John Doe".

Is this possible with sumif or do I need to go another route?

Thank you




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default SumIf Help

You're welcome!

--
Biff
Microsoft Excel MVP


"RoadKill" wrote in message
...
Both of you guys rock. Thanks much.

"T. Valko" wrote:

Try this array formula:

=SUM((B5:B1000="John Doe")*(C5:C1000=20%)*(C5:C1000<30%))

Or, this non-array version:

=SUMPRODUCT(--(B5:B1000="John Doe"),--(C5:C1000=20%),--(C5:C1000<30%))


--
Biff
Microsoft Excel MVP


"RoadKill" wrote in message
...
Hello,

Here is my sumif presently: =SUM(IF(C5:C1000=20%,
IF(C5:C1000<30%,1,0))).

What I would like is to add column B to it as well where it looks for a
particular Supervisor and then add together the amount of people
between
20
and 29.99%. This is what I would like to add: B5:B1000="John Doe".

Is this possible with sumif or do I need to go another route?

Thank you






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
SUMIF Christy Excel Worksheet Functions 5 January 9th 07 08:19 PM
Embedding a Sumif in a sumif C.Pflugrath Excel Worksheet Functions 5 August 31st 05 07:31 PM
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 05:32 PM.

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

About Us

"It's about Microsoft Excel"