Problems using @cell with dates when range contains blank cells

Eli Chuang
edited 12/09/19 in Formulas and Functions


I've been trying to use this formula:

COUNTIF(Due Date, MONTH(@cell) = 8, but it returns an error INVALID DATA TYPE

If I limit the data range to exclude the blank rows than it has no problems. But this is not pratical because later when I more tasks, I have to adjust the formula. Interestingly SUMIF does not have this problem using similar parameters.

Besides creating a new column to calculate the month separately any other solutions?



Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!