Dates & Helper Coloumn
I currently have this formula set up to count any dates for each year based on my start date. My issue is it is selecting the parent rows and duplicating the number of dates, so I added a checkbox helper column only selecting the rows I need. Still, I am having difficulty figuring out how to add this piece to my formula.
=COUNTIFS({Start Date}, AND(@cell >= DATE(2023, 1, 1), @cell <= DATE(2023, 12, 31)))
My helper column looks like this:
Best Answer
-
Hi @pturnbull
You shouldn't need to use AND with a COUNTIFS. Try something like this (untested):
=COUNTIFS({Start Date}, >= DATE(2023, 1, 1), {Start Date}, <= DATE(2023, 12, 31), [Helper],1)
Also, is {Start Date} a cross sheet reference? If not, it should be [Start Date].
Hope this helps,
Dave
Answers
-
Hi @pturnbull
You shouldn't need to use AND with a COUNTIFS. Try something like this (untested):
=COUNTIFS({Start Date}, >= DATE(2023, 1, 1), {Start Date}, <= DATE(2023, 12, 31), [Helper],1)
Also, is {Start Date} a cross sheet reference? If not, it should be [Start Date].
Hope this helps,
Dave
-
Perfect thank you.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!