Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" | Excel Worksheet Functions | |||
SUMIF | Excel Worksheet Functions | |||
Embedding a Sumif in a sumif | Excel Worksheet Functions | |||
nested sumif or sumif with two criteria | Excel Worksheet Functions | |||
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function | Excel Worksheet Functions |