Welcome to the Smartsheet Forum Archives
The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.
Using COUNTIF and MONTH() to Find a Specific Date
Hello:
For a given set of rows with due dates:
04/03/17
04/28/17
04/03/17
04/03/17
06/01/17
04/03/17
05/17/17
05/17/17
04/28/17
I need a formula that will count up all those due in April. I am working with the following formula, but it is not quite right yet:
=COUNTIF(DueDate:DueDate, @cell MONTH(DueDate:DueDate) = 4)
Can someone lend a hand? Thanks!
Kevin
Comments
-
Kevin,
This worked for me
=COUNTIF(Date2:Date10, MONTH(@cell) = 4)
You just cannot put the formula into a date type cell, so it cannot be in the Date column.
Hope that helps.
Larry
-
Thanks Larry! It looks like I needed to specify the cell range and evaluate using @cell within (rather than outside of) the MONTH() function. Thanks again!
Kevin
This discussion has been closed.
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.6K Get Help
- 403 Global Discussions
- 215 Industry Talk
- 455 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 56 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives