SUMIFS Formula with Three Conditions
Hello all! I'm fairly new to SmartSheets and having troubles with a formula for our Sheet Summary.
Here is a screenshot with what I have started. I want to calculate the total number of units if the employee equals "MB" and HSW is one of the Applicable Categories from the dropdown.
I used the formula below but it returned a value of 0. What part of my formula is currently wrong?
To make matters worse, I want to eventually add a third condition if the Date Earned column is in the year of 2023.
=SUMIFS([Total CE Units]:[Total CE Units], Employee:Employee, "MB", [Applicable Categories]:[Applicable Categories], "HSW")
Best Answer

Hi @twallen,
Just add a
HAS() to your formula and you will be all set  this is needed for the multiselect field.
=SUMIFS([Total CE Units]:[Total CE Units], Employee:Employee, "MB", [Applicable Categories]:[Applicable Categories], HAS(@cell, "HSW"))
Later, to add the year part, use this.
=SUMIFS([Total CE Units]:[Total CE Units], Employee:Employee, "MB", [Applicable Categories]:[Applicable Categories], HAS(@cell, "HSW"), [Date Earned]:[Date Earned], @cell <> "", [Date Earned]:[Date Earned], YEAR(@twallen
Hope this helps,
Dave
Answers

Hi @twallen,
Just add a
HAS() to your formula and you will be all set  this is needed for the multiselect field.
=SUMIFS([Total CE Units]:[Total CE Units], Employee:Employee, "MB", [Applicable Categories]:[Applicable Categories], HAS(@cell, "HSW"))
Later, to add the year part, use this.
=SUMIFS([Total CE Units]:[Total CE Units], Employee:Employee, "MB", [Applicable Categories]:[Applicable Categories], HAS(@cell, "HSW"), [Date Earned]:[Date Earned], @cell <> "", [Date Earned]:[Date Earned], YEAR(@twallen
Hope this helps,
Dave

Hi @DKazatsky2. This was extermely the helpful! The first formula works just as intended so I marked it as answered.
Can you please help me wrap up the second formula? I added 2023 to specify that year but I receive an #Invalid Data Type
=SUMIFS([Total CE Units]:[Total CE Units], Employee:Employee, "MB", [Applicable Categories]:[Applicable Categories], HAS(@cell, "HSW"), [Date Earned]:[Date Earned], @cell <> "", [Date Earned]:[Date Earned], YEAR(2023))

Sorry, not sure what happened with the formula last time. Here it is.
=SUMIFS([Total CE Units]:[Total CE Units], Employee:Employee, "MB", [Applicable Categories]:[Applicable Categories], HAS(@cell, "HSW"), [Date Earned]:[Date Earned], @cell <> "", [Date Earned]:[Date Earned], YEAR(@cell) = 2023)
Help Article Resources
Categories
 All Categories
 14 Welcome to the Community
 Smartsheet Customer Resources
 62.3K Get Help
 364 Global Discussions
 199 Industry Talk
 428 Announcements
 4.4K Ideas & Feature Requests
 136 Brandfolder
 127 Just for fun
 128 Community Job Board
 445 Show & Tell
 28 Member Spotlight
 1 SmartStories
 283 Events
 35 Webinars
 7.3K Forum Archives
Check out the Formula Handbook template!