#Invalid Data Type
Hello,
I have a formula in my sheet summary that was working until recently. For some reason the formula is no longer able to count the months or years in the sheet. I also receive the error when I remove the [Current Month]# from the formula and try putting "11".
Does anyone have any recommendations or see anything wrong with the below formulas?
=COUNTIFS([Document Type]:[Document Type], "Net New", ERP:ERP, "NetSuite", Month:Month, [Current Month]#, Year:Year, [Current Year]#)
Current Month Summary Field is: =MONTH(TODAY())
Current Year Summary Field is: =YEAR(TODAY())
Answers
-
Double check the Month and Year columns. If that error is in any of those cells, it will push through and cause the same error to appear in any formula referencing the cell.
-
Sadly that's not the issue in this one :( the month and year columns are both column formulas and they have no errors in them. I had thought of that too when I saw them pop up.
-
What about either of the other two columns being referenced?
-
No, the other columns being referenced are dropdowns from a form so they don't have any error messages. If I remove Month:Month, [Current Month]#, Year:Year, [Current Year]# from the formula, it works. And if I do =COUNT(Month:Month, [Current Month#), it works. But stops working when I try countif or countifs.
-
What happens when you leave the Month:Month range in and take out the Year:Year range?
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!