Issue with SumIFS

Options

Hi,


I am trying to get the sum of Green Communities eligible projects in a fiscal Year. What I have for a formula is:

=SUMIFS([Fiscal Year]:[Fiscal Year], "FY23", [Estimated Acquisition Cost]:[Estimated Acquisition Cost], >0, [Grant Name]:[Grant Name], "Green Communities")

And this is throwing a Incorrect Argument set.

Any ideas what I am missing?


Thanks!!

Best Answer

Answers

  • Jeff Reisman
    Jeff Reisman ✭✭✭✭✭✭
    Options

    Which field are you trying to find the sum for? In your formula, you give it three sets of criteria ranges and criteria, but don't indicate which range it should sum. List the range to be summed first, followed by you range/criteria sets. (It's okay if the range to sum is one of those listed with criteria later in the formula.)

    =SUMIFS([Range to Sum]:[Range to Sum], [Fiscal Year]:[Fiscal Year], "FY23", [Estimated Acquisition Cost]:[Estimated Acquisition Cost], >0, [Grant Name]:[Grant Name], "Green Communities")

    Regards,

    Jeff Reisman

    Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages

    If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!

  • DSullivan
    Options

    Hi Jeff,

    Thanks for the quick answer. I'm trying to sum the Estimated Acquisition Cost field.

    The criteria I'm trying to use is Grant Name = Green Communities and Fiscal Year = FY23


    Thanks again!


    Dave

  • Jeff Reisman
    Jeff Reisman ✭✭✭✭✭✭
    Answer ✓
    Options

    So in that case you list Estimated Acquisition Cost as your range (without criteria,) before the criteria ranges. It's okay to have a criteria for the range you are finding the sum for, you just have to list the range a second time in the formula paired with the criteria.

    =SUMIFS([Estimated Acquisition Cost]:[Estimated Acquisition Cost], [Fiscal Year]:[Fiscal Year], "FY23", [Estimated Acquisition Cost]:[Estimated Acquisition Cost], >0, [Grant Name]:[Grant Name], "Green Communities")

    Regards,

    Jeff Reisman

    Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages

    If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!

  • DSullivan
    Options

    Thanks again for your assistance! That worked!!

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!