Sumif getting 0

This one should be a no-brainer, but I have "formula block".

I'm trying to run a SUMIFS on the test sheet below to sum the Sales price if the Year of Contract is 2021 and the Split Category is CSA Assisted Lead. The Year of contract column comes from the YEAR function run on the Contract Date.

My formula came out to 0, so I broke it down to sum one condition at a time, but I'm still getting 0. Here is the formula to sum if one condition is true. Why does this produce a 0?

=SUMIF([Sales Price]:[Sales Price], [Split Category]:[Split Category] = "CSA Assisted Lead")



Best Answer

  • Bassam Khalil
    Bassam Khalil ✭✭✭✭✭✭
    Answer ✓

    Hi @Andrea Westrich

    Hope you are fine, please try the following formula:

    =IFERROR(SUMIFS([Sales Price]:[Sales Price], [Split Category]:[Split Category], 
    @cell = "CSA Assisted Lead", [Year of Contract]:[Year of Contract], @cell = 2021), "")
    

    The Following screenshot shows the result:


    PMP Certified

    bassam.khalil2009@gmail.com

    ☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!