Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Array Formula to calculate times

$
0
0

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


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>