Dashboard - Formula help for date fields
Hi
I have a column in my sheet that is date specific. I am trying to bunch together how many actions have taken place within each month. E.g. if I have 5 actions, one per line, that have been executed within the month of May (all different dates) please can someone provide the formula that will allow me to make a count of how many actions for May?
The eample attached, shows 5 actions that have been executed in May. On my dashboard I want to show 'Offers Accepted in May' to generate the count of 5.
Comments
-
Try something along the lines of this (either on the same sheet in a different column or in a different sheet using cross sheet references):
=COUNTIFS([Offer Accepted date]:[Offer Accepted date], IFERROR(MONTH(@cell), 0) = 5)
Just change the 5 to whatever month number you need. If you currently or will eventually have multiple years on the same sheet and want to specify that portion as well, it would look like this:
=COUNTIFS([Offer Accepted date]:[Offer Accepted date], AND(IFERROR(MONTH(@cell), 0) = 5, IFERROR(YEAR(@cell), 0) = 2019))
and then just change 2019 to the correct year.
-
Thanks so much Paul! This worked perfectly!
-
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 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
Check out the Formula Handbook template!