fayez_MrExcel
Active Member
- Joined
- Oct 29, 2005
- Messages
- 444
- Office Version
- 365
- Platform
- Windows
How to Count the number of employee that is "Active", under "HR" & employee number that starts with 1(employee no. is 5 digits). My sheet has: A2-Employee Number, B2-Employee Name, C2-Status (Active or Inactive), D2-Dept Name. I have already this syntax and I want to add the last criteria which is to include in counting if the employee number starts with 1. This is the syntax i used: =SUMPRODUCT(--(C2:C1000="Active File"),--(D2:D1000="HR")). Thanks