Tallying Totals in Summary
=COUNTIF(Created:Created, YEAR(@cell) = 2023)
Generates invalid data type
Created is a autogenerated date time column when the row is created.
example of format -
I can get a single cell from the column to return 2023 using the Year() function but when using it in the formula above with @cell it errors. I feel like I am overlooking something simple.
I want to use this column to count the number of entries we have for the year.
Thanks for any guidance.
Answers
-
Hello @RJhingoor Try this.
=COUNTIF(Created:Created, YEAR(DATEONLY(@cell)) = 2023)
-
It still comes back invalid. In the meantime I have created a new column that pulls the last two digits of the year out of the date time column. Now I can count on 23 or 22 or 24 for next year.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!