Just like it says on the tin! I am trying to produce a table (below) that shows the number of employees in each department depending their start date and leaving date (leaving date is blank if they are still an employee)
This is my formula: =COUNTIFS(Summary!$F:$F,KPIs!$B33,Summary!$G:$G,"<="&D29,Summary!$H:$H,"")+COUNTIFS(Summary!$F:$F,KPIs!$B33,Summary!$G:$G,"<="&D29,Summary!$H:$H,">="&D30)
This is my source data:
When I try each individual criteria it works fine, but when I combine them it comes out with zero - can anyone help?
Thank you!!
This is my formula: =COUNTIFS(Summary!$F:$F,KPIs!$B33,Summary!$G:$G,"<="&D29,Summary!$H:$H,"")+COUNTIFS(Summary!$F:$F,KPIs!$B33,Summary!$G:$G,"<="&D29,Summary!$H:$H,">="&D30)
This is my source data:
When I try each individual criteria it works fine, but when I combine them it comes out with zero - can anyone help?
Thank you!!