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
Check out the Formula Handbook template!