Checking Dates
How do I write a formula that would look at a date field that is formatting dd/mm/yy and count if both the current month and the current year match. Then I would also want to do a count for the prior month, so if the month and year of that date matched those of last month, and we also have to account for the fact that Dec (12 ) comes before Jan (1). These are continually stumping me.
Answers
-
Just to be sure. Your speaking from a Fiscal year standpoint. You would have to create a reference sheet that to set the months of your fiscal year. then you could use a combination of Countif and Index Collect to achieve everything you need.
If you found this comment helpful. Please respond with any of the buttons below. Awesome🖤, Insightful💡, Upvote⬆️, or accepted answer. Not only will this help others searching for the same answer, but help me as well. Thank you.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.8K Get Help
- 406 Global Discussions
- 219 Industry Talk
- 457 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!