SUMIFS criteria headache
Hello all,
Typically, building a formula through Smartsheet doesn't give me any issues but the SUMIFS formula specifically within Smartsheet is making me pull my hair out.
I have 3 columns that I need to use in the formula.
-Job Code
-Needed Position Headcount
-Building Status
I need to add the total headcount of each job code if the building has a status of either "Communicated" or "TBA".
Currently, I have the attempted formula written as:
=SUMIFS([Job Code]:[Job Code], [Needed Position Headcount]:[Needed Position Headcount], "FACBM1" [Building Status]:[Building Status], "Communicated" OR "TBA")
"FACBM1" is the specific job code I'm wanting to add based on the building being classified as with communicated or TBA.
Could someone point me in the right direction on how to properly configure this formula?
Thanks!
Comments
-
Think this should do it:
=SUMIFS([Needed Position Headcount]:[Needed Position Headcount], [Job Code]:[Job Code], "FACBM1" [Building Status]:[Building Status], "Communicated" OR "TBA")
You had the range to sum as the job code, and the criteria range as the headcount. Should be flipped!
-
Thanks so much for your help in this! This formula seems to work fine with only one criteria at the end, such as "communicated".
When I try to place ...OR "TBA") the formula comes back unparseable.
How can I add both criteria to the end of the formula?
-
Ah! Sorry, going too quickly and didn't see that part. I don't have time to actually test this so hoping it's correct!! It will give you a good start if not.
=SUMIFS([Needed Position Headcount]:[Needed Position Headcount], [Job Code]:[Job Code], "FACBM1", [Building Status]:[Building Status], OR(@cell = "Communicated", @cell = "TBA"))
Hope that helps!
-
That was it!! Thanks so much for your help!
-
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.8K Get Help
- 410 Global Discussions
- 219 Industry Talk
- 457 Announcements
- 4.7K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!