Sheet Summary Formula #Invalid Data Type
I have a countifs formula that is returning #invalid Data Type error in the sheet summary. The reason for the error is that I have blank cells in the finish date column range. How would I add an iferror or something similar to the following formula to cause it to ignore the blanks?
=COUNTIFS([Renovation Complete]:[Renovation Complete], true, [Finish Date]:[Finish Date], (VALUE(MONTH(@cell)) = 6))
Thank you in advance for your help
Best Answers
-
Try wrapping your Month(@ cell) in an IFERROR formula like below. It will set all blank fields as 0 which will ignore them.
=COUNTIFS([Renovation Complete]:[Renovation Complete], true, [Finish Date]:[Finish Date], IFERROR(MONTH(@cell), 0) = 6)
Hope that helps!
-
Thank you, Mike. That did work. I had tried that prior and couldn't get the paranthesis in the right spots. You nailed it. Appreciate the support and quick response.
-
If you could accept my answer that would be greatly appreciated. It looks like you accepted your own. :)
Answers
-
Try wrapping your Month(@ cell) in an IFERROR formula like below. It will set all blank fields as 0 which will ignore them.
=COUNTIFS([Renovation Complete]:[Renovation Complete], true, [Finish Date]:[Finish Date], IFERROR(MONTH(@cell), 0) = 6)
Hope that helps!
-
Thank you, Mike. That did work. I had tried that prior and couldn't get the paranthesis in the right spots. You nailed it. Appreciate the support and quick response.
-
If you could accept my answer that would be greatly appreciated. It looks like you accepted your own. :)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 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
Check out the Formula Handbook template!