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.
Totals by Month using a date column
Comments
-
Olga,
Either you need to have a column to get the month's number and then do a COUNTIF or the formula is very complicated and long because you need to do determination in one formula.
If, however, you wanted 12 results (that is showing Jan's total and Feb's total and...) in a section at the top or bottom of your sheet, that's pretty simple, sort of.
Be aware, it is a LOT easier to put numbers into Text/Number columns than it is into put them into Date columns, even though it seems to "look better" in the same column.
For example:
This:
=COUNTIF(Finish31:Finish33, MONTH(@cell) = 1) + ""
will return the number of dates that fall in January where the formula is in a Date column.
The (+ "") is added to force it to a text (which has the added disadvantage that you can't add it without putting it to a number using the VALUE function.
It also throughs an error if the dates are blank.
And has to be modified if your data set grows.
If you want only Jan-2017 and nont Jan-2018, then you can make it more complicated too.
A trick to get the count back into the date column is to put your calculation somewhere else and hide that column.
In the date column, just get the value
=[MyHiddenColumn]1 + ""
You still need to turn it into text but the number is now available without worrying about using VALUE()
Hoe this sparks some ideas.
Craig
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives