John Carney
asked on
SUMIF or SUMPRODUCT with more than one condition
I need to add one more condition to this SUMIF formula: SUMIF(AllTails,C6,AllJ)
I need to sum all the cells in the defined range "AllJ" for which its corresponding cell in the range "AllTails" = C6 AND its corresponding cell the range "AllWeeks" = "Week 40"
Thanks,
John
I need to sum all the cells in the defined range "AllJ" for which its corresponding cell in the range "AllTails" = C6 AND its corresponding cell the range "AllWeeks" = "Week 40"
Thanks,
John
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Can you attach your spreadsheet here?
It can give you NA Error primarliy because of the reason that all your ranges in the criteria are not same what i mean by that if all tails is assuming-->a1 to a100, then all weeks should also from row-1 to row-100 that is assuming its b column it will be b1 to b100 and similarly all j should also be from row-1 to row 100 that is assuming c column then-->c1 to c100, check your ranges im sure they will be inconsistent.
If they are same then somewhere in your data you have a error value #NA.
Saurabh...
If they are same then somewhere in your data you have a error value #NA.
Saurabh...
ASKER
As stated my earlier comment, your range all tails was dynamic as soon i make it static and apply formula it perfectly works. Enclosed is your file.
Saurabh...
SUMIF-Challenge.xls
Saurabh...
SUMIF-Challenge.xls
ASKER
Thanks, saurabh, it works great. Sorry for the wild goose chase!
- John
- John
ASKER
Also, it would be okay to accomplish this with a macro if that helps.
Thanks