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.1K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 450 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 289 Events
- 34 Webinars
- 7.3K Forum Archives