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.
Month Count/Summary as Integer

I have looked for examples but can not find - apologies for basic formula question.
From a date field i would like a formula that will take the month and total/count by month:
Eg:ย Month 1 - Total 15
ย ย ย ย ย ย ย Month 2 - Total 9
ย ย ย toย Month 12 - Total 0
ย
Can anyone help?
many thanks
Chris
Comments
-
ย
Dont worry - got it.
Extract Month into new columnย from Date for each row
=MONTH([Actual Completed Date]1)
ย
Then total up each month (one entry for each month)
="Total DECย -ย " + COUNTIF(Month:Month, =12)
Not sure if having 12 formulasย is the most efficient - but it works
ย
Which can published on Site as aย reportย
ย
ย
ย
-
AHH - LOST IT AGAIN
|If there is not date entered in the date field then =MONTH([Actual Completed Date]1) fails (no month to extract) - which then causes the COUNIF to fail.
ย
What tweak needs to be addded to ensure the =MONTH formula still works even if the Date column has no entry on that row?
ย
many thanks
ย
Chris
ย
-
if(isblank([Actual Completed Date]1),0,month([Actual Completed Date]1))
ย
or one of the other logic statements ; iserror, isdate ?
-
Hm.....there really is no formula to count the # of something for a current month, or last month, using the date column? Seems weird to have create another column that pulls out the month from a date row.
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.8K Get Help
- 474 Global Discussions
- 207 Use Cases
- 517 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 83 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives