Countifs Formula - Month & Year
I have used AI and still getting an #INVALID DATA TYPE" error when I try to create this formula. I am trying to count if the "Renewal Month" column is January and the "Renewal Year" column is 2025. Below is the formula I am using. If it makes a difference, these two columns are populated by a formula to get the month and year. Any idea what needs corrected to get the formula to work? Thank you!!!
=COUNTIFS([Renewal Month]:[Renewal Month], "January", [Renewal Year]:[Renewal Year], 2025)
Answers
-
Hello. Did you try putting the year in quotations as well? i.e "2025"
I made a mock up and the syntax is correct. I just put the year in quotes and it seems to work.
-
Hi - Thanks for the quick answer! I have tried with both quotations and without, and I get the error with both versions. I just tried this again, and still getting an error. Any other thoughts?
=COUNTIFS([Renewal Month]:[Renewal Month], "January", [Renewal Year]:[Renewal Year], "2025")
-
Also, it seems the brackets are not present in the formula I used.
-
Hi - Could you cut/paste the formula that is working for you please?
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!