00:00This is how you count the number of shifts worked by an employee in your
00:03organization. We're going to start off with a VLOOKUP function and the first
00:08argument in there will be the value to look up for and the second argument is
00:13the table where you can look up for the value and we need column number two from
00:17this table here and then we need it to be exact match. If you hit enter what
00:23that VLOOKUP does is returns the employee ID for this will be Mariah with
00:29a B. Now we can use the output from VLOOKUP along with COUNTIF function and
00:36basically the first argument of COUNTIF will be your shift available table here
00:41and the second argument would be the output from the VLOOKUP function and if
00:45you hit enter it will show you that Mariah has two shifts. Now if you change the
00:50employee to Alice it will show you she has been assigned three shifts and for
00:54Oscar it is two shifts and one shift for Laura. If you'd like to know how I set up
01:00the employee ID highlights when the employee name changes drop me a comment
01:03and I'll create another video explaining the process.