Apr 12 2019 10:01 PM - edited Apr 12 2019 10:30 PM
Trying to create a formula that will sum a dollar amount from another worksheet in the same workbook while filtering two types of criteria.
=SUM(Table1[MRR]) /COUNTIFS(Table1[Status], "red", Table1[Primary CSEP Identification],"<>Contract Renewal - within 3 months")
The sum is supposed to be the total, the status identified as red and excluding Primary CSEP identification of contract renewal. What am I missing?
Apr 12 2019 10:54 PM
You have not applied any filtering to the summation which I assume to be the point of the exercise.
=SUMIFS(Table1[MRR]), Table1[Status], "red", Table1[Primary CSEP Identification],"<>Contract Renewal - within 3 months")
Apr 13 2019 07:51 AM
Thank you for your reply and help. I tried this formula during this process and again with your comment, however I recieve an error back stating "You've entered too few arguments for this function".
Apr 13 2019 11:39 AM
SolutionThen I assume you have not actually provided the 5 parameters as suggested.
Check carefully that you have conformed to the syntax
=SUMIFS(
Table1[MRR]), {the range to be conditionally summed}
Table1[Status], {the first criterion range}
"red", {the value you required for the first criterion}
Table1[Primary CSEP Identification], {the second criterion range}
"<>Contract Renewal - within 3 months") {the value you required for the second criterion}
with commas separating the arguments.
Apr 13 2019 11:59 AM
Thank you Peter, I have tried this formula many times but when you broke it out like that I re-wrote it, as you spelled out. This worked!! I must've missed a comma somewhere or something small since I have been looking at it for 3 days :).
Very much appreciate your help and walking me through it!
Apr 13 2019 11:39 AM
SolutionThen I assume you have not actually provided the 5 parameters as suggested.
Check carefully that you have conformed to the syntax
=SUMIFS(
Table1[MRR]), {the range to be conditionally summed}
Table1[Status], {the first criterion range}
"red", {the value you required for the first criterion}
Table1[Primary CSEP Identification], {the second criterion range}
"<>Contract Renewal - within 3 months") {the value you required for the second criterion}
with commas separating the arguments.