I have a sheet I use to update my scheduler about call offs and last minute changes to the schedule. I'm trying to get the system to calculate hours by using =arrayformula((IF(D5:J42=C45:C87, C5:C42-B5:B42))), which as I understand it should be looking through the cells in the main area, and calcualting the time differences in the C and B columns if their name matches.
It seems to be calculating in a strange way and I'm not really sure why. I originally planned to manually plug in each row, which I got halfway done with in Cell D44. if anyone has any better suggestions I'm open to them :) Example Sheet