CountIF for Year?
Creating the summary report and trying to count if column has year in it - for example, 2015. Trying the formula: =COUNTIF(YEAR, [Record Initiation Date]:[Record Initiation Date] =2015) with no luck. Thoughts?
Best Answer
-
I think you are trying to do too much at once
One I just used yesterday was to put an extra column called "Year" in my main file that was
=YEAR(Date@row)
Then I did
=COUNTIF([Year Column]:[Year Column], =2015)
Especially if it is a summary report you will be linking to another sheet
=COUNTIF({Data File Year}, =2015)
Answers
-
I think you are trying to do too much at once
One I just used yesterday was to put an extra column called "Year" in my main file that was
=YEAR(Date@row)
Then I did
=COUNTIF([Year Column]:[Year Column], =2015)
Especially if it is a summary report you will be linking to another sheet
=COUNTIF({Data File Year}, =2015)
-
Yup, I had something similar to that before. I was just hoping that I didn't have to create another column in the sheet itself, but that makes sense. I can always hide the year column from people.
Thank you!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.9K Get Help
- 379 Global Discussions
- 210 Industry Talk
- 441 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 300 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!