SUMIF spend total by year

Options

Hey guys,

I have been trying to write a formula which allows me to calculate the amount of spend by year but cannot figure out what i am doing wrong. I tried the following:

=SUMIF(Debit5:Debit339, [Spend date]5:[Spend date]339, >=1 / 1 / 2021, [Spend date]5:[Spend date]339, <=31 / 12 / 2021)

But get the error message incorrect argument.

Kind regards,

Toni

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!