Calculating Quarters from a date column
I am trying to calculate the number of completed tasks per quarter. I can't figure out how to create a formula that will calculate this. Any help is greatly appreciated!!
Answers
-
Will you have a year overlap on your sheet, or will there only be entries for a single year?
-
I really just want to show the total for the current quarter
-
Ok. Assuming you are using calendar year for the quarters, I would suggest something like this...
=COUNTIFS([Completed Date]:[Completed Date], AND(@cell < IF(TODAY() < DATE(YEAR(TODAY()), 4, 1), DATE(YEAR(TODAY()), 4, 1), IF(TODAY() < DATE(YEAR(TODAY()), 7, 1), DATE(YEAR(TODAY()), 7, 1), IF(TODAY() < DATE(YEAR(TODAY()), 10, 1), DATE(YEAR(TODAY()), 10, 1), DATE(YEAR(TODAY()), 12, 31)))), @cell >= IF(TODAY() < DATE(YEAR(TODAY()), 4, 1), DATE(YEAR(TODAY()), 1, 1), IF(TODAY() < DATE(YEAR(TODAY()), 7, 1), DATE(YEAR(TODAY()), 4, 1), IF(TODAY() < DATE(YEAR(TODAY()), 10, 1), DATE(YEAR(TODAY()), 7, 1), DATE(YEAR(TODAY()), 10, 31))))))
-
What if I am trying to calculate the number of initiatives within a single quarter?
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.5K Get Help
- 448 Global Discussions
- 145 Industry Talk
- 481 Announcements
- 5.1K Ideas & Feature Requests
- 85 Brandfolder
- 152 Just for fun
- 73 Community Job Board
- 492 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 304 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!