Can I use two variables with SUMIFS
Example, I have a smartsheet with sales, it has customer name, segment (i.e.: commercial, retail, sled, enterprise), country and total value.
Can I have use SUMIFS to show value of all deals in a segment by country? So like I want to show total for all Americas deals in the enterprise segment?
I've tried, but I must be doing it wrong.
Best Answer
-
It s just incorrect syntax. The proper syntax is
range to sum, range, criteria, range, criteria
You have
range to sum, range, range, criteria, criteria
Try this:
=SUMIFS({TEST SHEET for Formulas Range 1}, {TEST SHEET for Formulas Range 2}, "AMERICAS", {TEST SHEET for Formulas Range 3}, "ENTERPRISE")
Answers
-
As an example, here's what I "tried"
Note: The formula resides in a different sheet
=SUMIFS({TEST SHEET for Formulas Range 1}, {TEST SHEET for Formulas Range 2}, {TEST SHEET for Formulas Range 3}, "AMERICAS", "ENTERPRISE")
-
It s just incorrect syntax. The proper syntax is
range to sum, range, criteria, range, criteria
You have
range to sum, range, range, criteria, criteria
Try this:
=SUMIFS({TEST SHEET for Formulas Range 1}, {TEST SHEET for Formulas Range 2}, "AMERICAS", {TEST SHEET for Formulas Range 3}, "ENTERPRISE")
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!