Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have set up a timesheet that allows you to clock in and clock out each day.
This set up was the preferred method for employees. However, I now have the problem of being able to add hours worked when starting shift in the PM of one day and finishing shift in the AM of the next day. Is there a formula to manipulate this information? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
Try this =IF(A1B1,B1+1-A1,B1-A1) Format as hh:mm Mike "Nikki27" wrote: I have set up a timesheet that allows you to clock in and clock out each day. This set up was the preferred method for employees. However, I now have the problem of being able to add hours worked when starting shift in the PM of one day and finishing shift in the AM of the next day. Is there a formula to manipulate this information? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If Start is in column A, Finish in column B, then try to use this formula
=B2+--(A2B2)-A2 instead of simple =B2-A2 Regards, Stefi €˛Nikki27€¯ ezt Ć*rta: I have set up a timesheet that allows you to clock in and clock out each day. This set up was the preferred method for employees. However, I now have the problem of being able to add hours worked when starting shift in the PM of one day and finishing shift in the AM of the next day. Is there a formula to manipulate this information? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Nikki
One way With start time in A1 and End time in B1 =MOD(B1-A1,1) -- Regards Roger Govier "Nikki27" wrote in message ... I have set up a timesheet that allows you to clock in and clock out each day. This set up was the preferred method for employees. However, I now have the problem of being able to add hours worked when starting shift in the PM of one day and finishing shift in the AM of the next day. Is there a formula to manipulate this information? |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hello,
Sorry, little confused. Any chance you could send me an example of the formula in use? Many Thanks, "Mike H" wrote: Hi, Try this =IF(A1B1,B1+1-A1,B1-A1) Format as hh:mm Mike "Nikki27" wrote: I have set up a timesheet that allows you to clock in and clock out each day. This set up was the preferred method for employees. However, I now have the problem of being able to add hours worked when starting shift in the PM of one day and finishing shift in the AM of the next day. Is there a formula to manipulate this information? |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
It depends how the time was entered. Usualy excel will put both the date and
time into the cell. You just have the cell formated to show only the time (the date is still there). If this is the case then you just have to subtract the two times and excel will do the rest. Date and time are store buy excel using the following rules Jan 1, 1900 is equal to day one. A day is equal to 1. So March 20, 2008 = 39527 If each day is equal to 1 then each hour is equal to 1/24 with midnight equaling 0. Noon time on Marcxh 20, 2008 is 39527.5 (.5 is one half of a day). When you start on March 19 at 8:00 PM and end March 20, 4:00 AM excel does the following Start Time 39526 + 20/24 (5/6)= 39526.8333333 End time 39527 + 4/24 (1/6) = 39527.16666666 The differrence = .33333333 which is 8 hours "Nikki27" wrote: I have set up a timesheet that allows you to clock in and clock out each day. This set up was the preferred method for employees. However, I now have the problem of being able to add hours worked when starting shift in the PM of one day and finishing shift in the AM of the next day. Is there a formula to manipulate this information? |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi all,
Ok, so I have a few formulas here I can try out. Thank you. One more question. How would I be able to enter a night shift starting on say a Monday night and finish on a Tuesday morning. How could I then add another shift that starts on the Tuesday? Which cells would I use and how would this work? "Joel" wrote: It depends how the time was entered. Usualy excel will put both the date and time into the cell. You just have the cell formated to show only the time (the date is still there). If this is the case then you just have to subtract the two times and excel will do the rest. Date and time are store buy excel using the following rules Jan 1, 1900 is equal to day one. A day is equal to 1. So March 20, 2008 = 39527 If each day is equal to 1 then each hour is equal to 1/24 with midnight equaling 0. Noon time on Marcxh 20, 2008 is 39527.5 (.5 is one half of a day). When you start on March 19 at 8:00 PM and end March 20, 4:00 AM excel does the following Start Time 39526 + 20/24 (5/6)= 39526.8333333 End time 39527 + 4/24 (1/6) = 39527.16666666 The differrence = .33333333 which is 8 hours "Nikki27" wrote: I have set up a timesheet that allows you to clock in and clock out each day. This set up was the preferred method for employees. However, I now have the problem of being able to add hours worked when starting shift in the PM of one day and finishing shift in the AM of the next day. Is there a formula to manipulate this information? |
#8
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() A1 B1 C1(The formula with cell formatted hh:mm) 22:15 06:22 08:07 i.e in this example 8hrs 7 minutes Mike "Nikki27" wrote: Hello, Sorry, little confused. Any chance you could send me an example of the formula in use? Many Thanks, "Mike H" wrote: Hi, Try this =IF(A1B1,B1+1-A1,B1-A1) Format as hh:mm Mike "Nikki27" wrote: I have set up a timesheet that allows you to clock in and clock out each day. This set up was the preferred method for employees. However, I now have the problem of being able to add hours worked when starting shift in the PM of one day and finishing shift in the AM of the next day. Is there a formula to manipulate this information? |
#9
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Ok, so currently ,in the total hours cells, I already have this formula =HOUR(D8-C8) So, how do I use your formula below and in what cell, so that both formulas apply to the full month ? Thanks again "Mike H" wrote: A1 B1 C1(The formula with cell formatted hh:mm) 22:15 06:22 08:07 i.e in this example 8hrs 7 minutes Mike "Nikki27" wrote: Hello, Sorry, little confused. Any chance you could send me an example of the formula in use? Many Thanks, "Mike H" wrote: Hi, Try this =IF(A1B1,B1+1-A1,B1-A1) Format as hh:mm Mike "Nikki27" wrote: I have set up a timesheet that allows you to clock in and clock out each day. This set up was the preferred method for employees. However, I now have the problem of being able to add hours worked when starting shift in the PM of one day and finishing shift in the AM of the next day. Is there a formula to manipulate this information? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Timesheet with multiple in/out daily | Excel Discussion (Misc queries) | |||
Linking Daily Worksheet To Daily Invoice Total | Excel Worksheet Functions | |||
create a timesheet to add daily and weekly hours and overtime | Excel Worksheet Functions | |||
Time Calculation For A Timesheet To Include Lunch | Excel Worksheet Functions | |||
How can Excel do daily timesheet, -lunch time, & not use colon in. | Excel Worksheet Functions |