SUMIFS formula returning #INCORRECT ARGUMENT SET: order of Range & Criteria?
Hello,
I cannot figure out why this SUMIFS is not working. When I break up the SUMIF criteria, they both work fine. But when I put them together, I get #INCORRECT ARGUMENT SET error message.
=SUMIFS({MH Client Profiles v2 Range 13}, "East", {MH Client Profiles v2 Range 16}, 1, {MH Client Profiles v2 Range 3})
All I want is to validate that the Region column has "East" and the Terminated column is "checked" and then add up the Revenue column.
Any advice would be appreciated.
Thank you!
Best Answer
-
This should be the layout.
=SUMIFS({Revenue:Revenue}, {Region:Region}, ="East", {Terminated:Terminated}, 1)
Answers
-
This should be the layout.
=SUMIFS({Revenue:Revenue}, {Region:Region}, ="East", {Terminated:Terminated}, 1)
-
Perfect, this fixed my formula. I got the formula switched...criteria was in the front and revenue was in the back. Thanks a lot!
-
According to Smartsheets... you will want to put the range to sum first... Then the 1st criterion range, then the Criteria. Try reorganizing your formula to put the range you want to sum first. Assuming MH Client Profiles V2 Range 3 is the sum reange, it would look like this:
=SUMIFS({MH Client Profiles v2 Range 3}, {MH Client Profiles v2 Range 13}, "East", {MH Client Profiles v2 Range 16}, 1)
-
So with SUMIF, the criteria goes first and then the range to sum last. Is that true?
-
Yes, if you use SUMIF, its reversed --- a little confusing in my book. I tend to always use COUNTIFS, or SUMIFS, because its always likely you may add a criterion and SUMIFS works with one or many...
-
Thanks Mike!
-
Absolutely! Anytime.
-
Hi Everyone, I am receiving the same error for my formula:
=COUNTIF([Assigned To]:[Assigned To], "Akil", Status:Status, "Complete")
Can someone help me? I want to look at two columns to see how many tasks Akil has completed. The formula is identifying the columns but I don't know
what is causing the "Incorrect argument set" error.
-
Hi Jenn,
You need to change the formula to a COUNTIFS instead.
More info:
Did that work?
I hope that helps!
Have a fantastic weekend!
Best,
Andrée Starå
Workflow Consultant / CEO @ WORK BOLD
✅Did my post help answer your question or solve your problem? Please help the Community by marking it as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
LOL! I added an "s" and it worked. What a simple solution! I was wracking my brain like "why doesn't this work!?"
Thanks Andrée! Works great now.
-
Excellent!
Happy to help!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Hi Andrée,
What if I wanted to have multiple options that I want to include in my count? How to I add "or" in my formula?
=COUNTIFS([Assigned To]:[Assigned To], "Akil", Status:Status, "New/Not Started")
^ this works, but say I want to count if Assigned to Akil, and the Status is either "New/Not Started" or "Complete"?
-
Try this.
=COUNTIFS([Assigned To]:[Assigned To], "Akil", Status:Status, OR(@cell = "New/Not Started", @cell = "Complete"))
Did it work?
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Amazing! That worked great! Thanks again Andrée :)
-
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!