Excel formula help

Copper Contributor

I'm trying to create a time worked schedule for an employee.  But I cannot figure out what type of formula to write to calculate how many hours were worked from the clock in time to the clock out time.

3 Replies
Assuming time in is in A1, time out in B1, and hours worked in C1, the formula in C1 would be:
=(B1-A1)*24

If that's not an overnight shift