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
- 67.1K Get Help
- 449 Global Discussions
- 154 Industry Talk
- 504 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 514 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!