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
- 64.1K Get Help
- 414 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