i want to calculate the houers of workers 21:00 - 05:00 =8

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i just want to put the time a worker come and the time he go and to have the
number of houers he worked
 
With start time in A1,
And end time in B1,
Try this in C1:

=((B1-A1+(B1<A1))*24)*AND(B1<>0,A1<>0)

Make sure C1 is formatted to General or Number.

--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================
 
A B C
1 Start End Duration
2 7:12 AM 4:30 PM 9:18

C2= B2-A1
Set Cell to hh:mm

Hope this helps
 
i just want to put the time a worker come and the time he go and to have the
number of houers he worked


=(EndTime-StartTime)+(StartTime>EndTime)

Format the result as h:mm


--ron
 

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