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
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives