Adding Looking inbetween Two Dates

Hello!
I have this code below and am trying to add if: column x and y are between 1/1/24 and 12/31/24.
=COUNTIFS({GDP Project Tracker Range 5}, "<0.05", {GDP Project Tracker Range 2}, "HSB", {GDP Project Tracker Range 3}, OR(@cell = "Active", @cell = "Launched", @cell = "Planned"))
Please let me know and any help would be appreciated!
Thank you :)
Answers
-
This assumes column x and column y are both in the same sheet as the formula.
=COUNTIFS({GDP Project Tracker Range 5}, "<0.05", {GDP Project Tracker Range 2}, "HSB", [column x]@row, YEAR(@cell) = 2024, [column y]@row, YEAR(@cell) = 2024, {GDP Project Tracker Range 3}, OR(@cell = "Active", @cell = "Launched", @cell = "Planned"))
-
Thank you so much. If this was to be changed to be an OR thing: Either column x OR column y fall within that date?
How would this be done?
-
Thank you so much. If this was to be changed to be an OR thing: Either column x OR column y fall within that date?
How would this be done?
-
There may be a more elegant solution, but this will work.
=COUNTIFS({GDP Project Tracker Range 5}, "<0.05", {GDP Project Tracker Range 2}, "HSB", [column x]@row, YEAR(@cell) = 2024,{GDP Project Tracker Range 3}, OR(@cell = "Active", @cell = "Launched", @cell = "Planned")) + COUNTIFS({GDP Project Tracker Range 5}, "<0.05", {GDP Project Tracker Range 2}, "HSB", [column y]@row, YEAR(@cell) = 2024, {GDP Project Tracker Range 3}, OR(@cell = "Active", @cell = "Launched", @cell = "Planned"))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.1K Get Help
- 430 Global Discussions
- 149 Industry Talk
- 490 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 154 Just for fun
- 74 Community Job Board
- 499 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!