Invalid Data Type, could it be the Month (@cell)

Hello,

In the sheet summary field (property is Text/Number) I am trying to sum invoice amounts (Column is called Amount) that are submitted each month (Column is called Invoice Date and is a Date column) using this formula but getting Invalid Data Type:

=SUMIF([Invoice Date]1:[Invoice Date]22, MONTH(@cell) = 4, [Amount]1:[Amount]22)

4 = April

What is also strange is the formula will somehow change to this:

=SUMIF([Invoice Date]1:[Invoice Date]22, MONTH(@cell) = 4, Amount1:Amount22)


Any help is much appreciated.

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!