COUNTIFS and Date Range
Hi
I'm wondering if anyone can help. My formula below works great, but I want to adjust what's included in this count.
For this count I want to filter on current date date from a range in a column (Current Due Date).
e.g. date range 30/04/2019 to 30/04/2020
=COUNTIFS({BC KPI}, $Measure2, {Business Unit}, [Business Unit]2, {Project Status}, OR(@cell = "Shipped", @cell = "In Progress"))
I've been looking at the formula function help wiki for date functions : https://help.smartsheet.com/functions but hit a brick wall. Any recommendations on what function I should use?
Thanks.
Lindsay
Best Answers
-
Try this...
=COUNTIFS({BC KPI}, $Measure2, {Business Unit}, [Business Unit]2, {Project Status}, OR(@cell = "Shipped", @cell = "In Progress"), {Date Range}, AND(@cell >= DATE(2019, 04, 30), @cell <= DATE(2020, 04, 30)))
-
@Paul Newcome This worked thank you!
Lindsay
Answers
-
Try this...
=COUNTIFS({BC KPI}, $Measure2, {Business Unit}, [Business Unit]2, {Project Status}, OR(@cell = "Shipped", @cell = "In Progress"), {Date Range}, AND(@cell >= DATE(2019, 04, 30), @cell <= DATE(2020, 04, 30)))
-
@Paul Newcome This worked thank you!
Lindsay
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 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!