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.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
Check out the Formula Handbook template!