Home |
Search |
Today's Posts |
#1
|
|||
|
|||
for SUMIF function, how do I use 2 sets of range & criteria
I am trying to sum one column set if it meets the conditions of two other
column sets Example Site Level Work Effort A 1 .2 A 2 .1 A 2 .15 B 2 .6 C 3 .1 In this example I want to sum Work effort for all Level 2s that reside in Site A. Basically it requires two sets of Range/Criteria in the Sum if function. Is this possible? I am have trouble trying to include it in the formula |
#2
|
|||
|
|||
You can use a sumproduct function:
=SUMPRODUCT(--($A$2:$A$100="A"),--($B$2:$B$100=1),$C$2:$C$100) and of course you can change the "A" and 1 to reference cells containing those values. Hope this helps Rowan Bob wrote: I am trying to sum one column set if it meets the conditions of two other column sets Example Site Level Work Effort A 1 .2 A 2 .1 A 2 .15 B 2 .6 C 3 .1 In this example I want to sum Work effort for all Level 2s that reside in Site A. Basically it requires two sets of Range/Criteria in the Sum if function. Is this possible? I am have trouble trying to include it in the formula |
#3
|
|||
|
|||
Hi!
A1 = A B1 = 2 =SUMPRODUCT(--(A5:A50=A1),--(B5:B50=B1),C5:C50) Biff "Bob" wrote in message ... I am trying to sum one column set if it meets the conditions of two other column sets Example Site Level Work Effort A 1 .2 A 2 .1 A 2 .15 B 2 .6 C 3 .1 In this example I want to sum Work effort for all Level 2s that reside in Site A. Basically it requires two sets of Range/Criteria in the Sum if function. Is this possible? I am have trouble trying to include it in the formula |
#4
|
|||
|
|||
Excellent, I will give it a try.
Thanks Bob "Biff" wrote: Hi! A1 = A B1 = 2 =SUMPRODUCT(--(A5:A50=A1),--(B5:B50=B1),C5:C50) Biff "Bob" wrote in message ... I am trying to sum one column set if it meets the conditions of two other column sets Example Site Level Work Effort A 1 .2 A 2 .1 A 2 .15 B 2 .6 C 3 .1 In this example I want to sum Work effort for all Level 2s that reside in Site A. Basically it requires two sets of Range/Criteria in the Sum if function. Is this possible? I am have trouble trying to include it in the formula |
#5
|
|||
|
|||
Excellent, I will give it a try.
Thanks Bob "Rowan Drummond" wrote: You can use a sumproduct function: =SUMPRODUCT(--($A$2:$A$100="A"),--($B$2:$B$100=1),$C$2:$C$100) and of course you can change the "A" and 1 to reference cells containing those values. Hope this helps Rowan Bob wrote: I am trying to sum one column set if it meets the conditions of two other column sets Example Site Level Work Effort A 1 .2 A 2 .1 A 2 .15 B 2 .6 C 3 .1 In this example I want to sum Work effort for all Level 2s that reside in Site A. Basically it requires two sets of Range/Criteria in the Sum if function. Is this possible? I am have trouble trying to include it in the formula |
#6
|
|||
|
|||
You're welcome. Thanks for the feedback!
Biff "Bob" wrote in message ... Excellent, I will give it a try. Thanks Bob "Biff" wrote: Hi! A1 = A B1 = 2 =SUMPRODUCT(--(A5:A50=A1),--(B5:B50=B1),C5:C50) Biff "Bob" wrote in message ... I am trying to sum one column set if it meets the conditions of two other column sets Example Site Level Work Effort A 1 .2 A 2 .1 A 2 .15 B 2 .6 C 3 .1 In this example I want to sum Work effort for all Level 2s that reside in Site A. Basically it requires two sets of Range/Criteria in the Sum if function. Is this possible? I am have trouble trying to include it in the formula |
#7
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
for SUMIF function, how do I use 2 sets of range & criteria
I just wanted to say thank you. I've been working on a similar project just
as Bob was for about 3 days now and just stumbled upon this community. within an hour I was able to answer my question with this posting. THANKS MUCH! Kalida "Rowan Drummond" wrote: You can use a sumproduct function: =SUMPRODUCT(--($A$2:$A$100="A"),--($B$2:$B$100=1),$C$2:$C$100) and of course you can change the "A" and 1 to reference cells containing those values. Hope this helps Rowan Bob wrote: I am trying to sum one column set if it meets the conditions of two other column sets Example Site Level Work Effort A 1 .2 A 2 .1 A 2 .15 B 2 .6 C 3 .1 In this example I want to sum Work effort for all Level 2s that reside in Site A. Basically it requires two sets of Range/Criteria in the Sum if function. Is this possible? I am have trouble trying to include it in the formula |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Passing a range name as an argument to the Index Function | Excel Discussion (Misc queries) | |||
"COUNTU" function in Excel to count unique entries in a range | Excel Worksheet Functions | |||
Number range function | Excel Discussion (Misc queries) | |||
Date & Time | New Users to Excel | |||
Function that filters a list (Database) for criteria in a range a. | Excel Worksheet Functions |