Forum Discussion
Count Open Jobs on any particular date
- Jun 11, 2021
You could use
=COUNTIFS($B$2:$B$1000,"<="&E2,$C$2:$C$1000,">="&E2)+COUNTIFS($B$2:$B$1000,"<="&E2,$C$2:$C$1000,"")
Let's say the Open Dates are in B2:B1000 and the Closed Dates in C2:C1000.
Elsewhere, enter the start date for the chart, then fill down to the end date.
Let's say this date series is in E2:E32.
In F2, enter the formula
=COUNTIFS($B$2:$B$1000,"<="&E2,$C$2:$C$1000,">="&E2)
and fill down.
Use columns E and F for your chart.
See the attached sample workbook.
- Matthew830Jun 11, 2021Copper Contributor
Thanks so much for sending this - it work brilliantly. However I don't think it has an allowance for jobs that are still open. i.e. my data set has over 1000 open jobs which don't have an a closed date - however these are recorded as being open. I assume that this is because they need to have a closed date to be counted. Is there anyway to include these still open jobs?
thanks
- HansVogelaarJun 11, 2021MVP
You could use
=COUNTIFS($B$2:$B$1000,"<="&E2,$C$2:$C$1000,">="&E2)+COUNTIFS($B$2:$B$1000,"<="&E2,$C$2:$C$1000,"")
- Matthew830Jun 11, 2021Copper ContributorPerfect - thank you so much.