Problems using @cell with dates when range contains blank cells
Hi,
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?
Tags:
Comments
-
Try this instead:
=COUNTIF([Due Date]:[Due Date], IFERROR(MONTH(@cell), "") = 8)
This should let you skip the blank cells.
-
Nic, thanks that works!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!