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.
Counting current months in a date column
Hello,
I am trying to get a count of due dates in the current month, here is the formula I am using and it always returns zero. the formula is in a text/number column and the data is in a date column.
=COUNTIF([Due Date]3:[Due Date]204, MONTH(TODAY()))
I,m a beginner and could really use the help. not getting errors, just a zero and there are dates in the column with the current month.
Thanks,
Chris
Comments
-
=COUNTIF([Due Date]3:[Due Date]204, MONTH(@cell) = MONTH(TODAY()))
should do the trick. Use @cell when you want to apply a function to each cell in the range.
btw, if your dates run longer than a one year span, you might want to check the year too
=COUNTIFS([Due Date]3:[Due Date]204, MONTH(@cell) = MONTH(TODAY()),),[Due Date]3:[Due Date]204, YEAR(@cell) = YEAR(TODAY()))
-
Hi Mark,
What happens when there aren't any dates? How would you want it to work?
Can you describe your process in more detail and maybe share the sheet(s) or some screenshots? (Delete/replace any confidential/sensitive information before sharing) That would make it easier to help. (share too, andree@getdone.se)
I hope that helps!
Have a fantastic weekend!
Best,
Andrée Starå
Workflow Consultant / CEO @ WORK BOLD
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.1K Get Help
- 413 Global Discussions
- 221 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 461 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives