Invalid Data Type Due to blanks
Could someone please assist me with writing the following function? I have tried plugging in IFERROR but it keeps throwing back an error, likely because I am not writing it correctly. The Start Date will sometimes be blank, and I am tracking the frequency of each Request Type for a month over month report, (eventually year over year) therefore, I need the include the Month and Year.
=COUNTIFS([Request Type]:[Request Type], "Documentation", [Start Date]:[Start Date], YEAR(@cell) = 2020, [Start Date]:[Start Date], MONTH(@cell) = 11)
Best Answer
-
That worked!!!! Thank you!
Answers
-
Try this...
=COUNTIFS([Request Type]:[Request Type], "Documentation", [Start Date]:[Start Date], AND(IFERROR(YEAR(@cell), 0) = 2020, IFERROR(MONTH(@cell), 0) = 11))
-
That worked!!!! Thank you!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!