Creating a count for a Column
So I have a column I am trying to get a count of by year for a Metric dashboard. I am using the following formula: =countif([Completion Date]:[Completion Date], ="2023"). This formula is not working and I am not the best with them. Can someone help me figure this our?
Best Answer
-
Yes, you would add another range criteria set to the existing COUNTIFS structure.
=COUNTIFS([Completion Date]:[Completion Date], IFERROR(YEAR(@cell), 0) = 2023, Status:Status, @cell = "In Progress")
Answers
-
Assuming the [Completion Date] column is a date type column hosing date type data, give this a try:
=COUNTIFS([Completion Date]:[Completion Date], IFERROR(YEAR(@cell), 0) = 2023)
-
That worked, but now I have one more question. Is it possible to create a similar formula that shows all the projects that are "In Process" within my Status column?
-
Yes, you would add another range criteria set to the existing COUNTIFS structure.
=COUNTIFS([Completion Date]:[Completion Date], IFERROR(YEAR(@cell), 0) = 2023, Status:Status, @cell = "In Progress")
-
that worked thx!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 462 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 59 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!