COUNTIF and AND formulas
Need to count a number of times a date is less than or equal to a specific date and equal to a value in another column
For example, I have a column "Schedule Status" that is a drop down with either "Completed" or "Scheduled" as choices. I also have a column for start date.
I want to calculate how many dates are less than or equal to 03/31/20 and meet the criteria "Scheduled"
Best Answers
-
I would insert a new calculating column and drop in the following formula:
=IF([Scheduled Status]1 = "completed", 0, IF([Start Date]1 < 31 / 3 / 20, 0, 1))
Then just have a sum of that column, can hide the calculating column afterwards.
-
Try something like this...
=COUNTIFS([Schedule Status]:[Schedule Status], "Scheduled", [Start Date]:[Start Date], @cell <= DATE(2020, 03, 31))
Answers
-
I would insert a new calculating column and drop in the following formula:
=IF([Scheduled Status]1 = "completed", 0, IF([Start Date]1 < 31 / 3 / 20, 0, 1))
Then just have a sum of that column, can hide the calculating column afterwards.
-
Try something like this...
=COUNTIFS([Schedule Status]:[Schedule Status], "Scheduled", [Start Date]:[Start Date], @cell <= DATE(2020, 03, 31))
-
Thank you! That did it.
This community is awesome
-
Happy to help! 👍️
Please don't forget to mark the most appropriate response(s) as "helpful" so that others searching for a similar solution can know that one may be found here.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!