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
- Customer Resources
- 64.6K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 63 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!