#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
- Smartsheet Customer Resources
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 137 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!