Calculating hours worked in a day

  • Thread starter Thread starter Jaz
  • Start date Start date
J

Jaz

I'm trying to create a time sheet for employees to enter their daily time.

I want them to put in the time they came in (ex. 7:50 AM), and the time they
went home (5:15 PM). I want a to be able to calculate the number of hours
worked. In this case it would be 9.42 hours.

How would I be able to do that?

Thanks,
Jasper
 
Bonjour, *Jaz*


the time they came in in E6 (19:50) format, hh:mm
the time they went home in F6 (5:15) format, hh:mm

=MOD(F6-E6;1)/"1:" Format, standard gives 9.42
 
=ROUND((B1-A1)*24,2)

where B1 is end time and A1 start

Format as general
 
Say you place 5:15 PM in cell H5 and 7:50 AM in cell I5

In the cell showiing the elapsed time
1. Enter the formula =(H5-I5)*24
2. Format as some number (comma) with the indicated number of decimal places

The last step is needed as the result might show up as time format like
10:00 AM
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top