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
- Customer Resources
- 65.3K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 85 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 302 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!