Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
This formula works because I found it in this forum and have applied it. Now
I want to use it for 3 conditions, but my 3rd condition is also in the column range of C3:C46, but the condition is H4. =SUMPRODUCT(--($A$3:$A$46=F3),--($C$3:$C$46=H3), --($C$3:$C$46=H4),$D$3:$D$46) When I insert the additional c3:c46 into the formula, the result is $0, instead of the sum I'm looking for. I need to keep these particular conditions in col C. Any suggestions on how to overcome this? Thanks |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try
=SUMPRODUCT(--($A$3:$A$46=F3),--($C$3:$C$46=H3)+($C$3:$C$46=H4),$D$3:$D$46) HTH Peter "JHL" wrote: This formula works because I found it in this forum and have applied it. Now I want to use it for 3 conditions, but my 3rd condition is also in the column range of C3:C46, but the condition is H4. =SUMPRODUCT(--($A$3:$A$46=F3),--($C$3:$C$46=H3), --($C$3:$C$46=H4),$D$3:$D$46) When I insert the additional c3:c46 into the formula, the result is $0, instead of the sum I'm looking for. I need to keep these particular conditions in col C. Any suggestions on how to overcome this? Thanks |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
The conditions --($C$3:$C$46=H3) and --($C$3:$C$46=H4) will exclude each
other unless H3=H4 without some more detail I cannot be certain of your intent, but I think you may want two sumproduct formulas added together. =SUMPRODUCT(--($A$3:$A$46=F3),--($C$3:$C$46=H3),$D$3:$D$46) + SUMPRODUCT(--($A$3:$A$46=F3),--($C$3:$C$46=H4),$D$3:$D$46) This will total all values in D3:D46 where A=F3 and C=H3 or C=H4 -- If this helps, please remember to click yes. "JHL" wrote: This formula works because I found it in this forum and have applied it. Now I want to use it for 3 conditions, but my 3rd condition is also in the column range of C3:C46, but the condition is H4. =SUMPRODUCT(--($A$3:$A$46=F3),--($C$3:$C$46=H3), --($C$3:$C$46=H4),$D$3:$D$46) When I insert the additional c3:c46 into the formula, the result is $0, instead of the sum I'm looking for. I need to keep these particular conditions in col C. Any suggestions on how to overcome this? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sumproduct with Condition OR Sumproduct with ADDRESS function - HE | Excel Discussion (Misc queries) | |||
Conditional SUMPRODUCT or SUMPRODUCT with Filters | Excel Worksheet Functions | |||
sumproduct help. | Excel Worksheet Functions | |||
sumproduct | Excel Discussion (Misc queries) | |||
sumproduct? sumif(sumproduct)? | Excel Worksheet Functions |