Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Time Calculation
Hi everyone,
I have a column of hours and minutes like 19:55, 07:12, 20:12 etc. I have also managed to add up the total number of hours and minutes for each week. I have used a custom format of [hh]:mm which works well. Now, say the weekly working hours are 40, i would like to take the total weekly hours and minutes they actuially worked and subtract what hours they should have worked, i.e. 40. So the formula would be something like ... total hours and minutes actually worked - 40 Thanks in Advance. All the Best Paul |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Time Calculation
Excel treats time as numbers. So, 1 day = 1. 1 hour = 1/24.
40 hours = 40/24. So, sum of times - (40/24) = answer. format as hours:mins. "Paul Black" wrote: Hi everyone, I have a column of hours and minutes like 19:55, 07:12, 20:12 etc. I have also managed to add up the total number of hours and minutes for each week. I have used a custom format of [hh]:mm which works well. Now, say the weekly working hours are 40, i would like to take the total weekly hours and minutes they actuially worked and subtract what hours they should have worked, i.e. 40. So the formula would be something like ... total hours and minutes actually worked - 40 Thanks in Advance. All the Best Paul |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Time Calculation
That works great, but if the actual hours worked is less than what
they should have worked it gives an error. Ideally i would like it to show a + or - in front of it as well. Thanks. All the Best. Paul On Oct 2, 4:21*pm, Sean Timmons wrote: Excel treats time as numbers. So, 1 day = 1. 1 hour = 1/24. 40 hours = 40/24. So, sum of times - (40/24) = answer. format as hours:mins. "Paul Black" wrote: Hi everyone, I have a column of hours and minutes like 19:55, 07:12, 20:12 etc. I have also managed to add up the total number of hours and minutes for each week. I have used a custom format of [hh]:mm which works well. Now, say the weekly working hours are 40, i would like to take the total weekly hours and minutes they actuially worked and subtract what hours they should have worked, i.e. 40. So the formula would be something like ... total hours and minutes actually worked - 40 Thanks in Advance. All the Best Paul- Hide quoted text - - Show quoted text - |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Time Calculation
check it here
http://www.j-walk.com/ss/excel/usertips/tip051.htm On Oct 2, 8:29*pm, Paul Black wrote: That works great, but if the actual hours worked is less than what they should have worked it gives an error. Ideally i would like it to show a + or - in front of it as well. Thanks. All the Best. Paul On Oct 2, 4:21*pm, Sean Timmons wrote: Excel treats time as numbers. So, 1 day = 1. 1 hour = 1/24. 40 hours = 40/24. So, sum of times - (40/24) = answer. format as hours:mins. "Paul Black" wrote: Hi everyone, I have a column of hours and minutes like 19:55, 07:12, 20:12 etc. I have also managed to add up the total number of hours and minutes for each week. I have used a custom format of [hh]:mm which works well. Now, say the weekly working hours are 40, i would like to take the total weekly hours and minutes they actuially worked and subtract what hours they should have worked, i.e. 40. So the formula would be something like ... total hours and minutes actually worked - 40 Thanks in Advance. All the Best Paul- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Time Calculation
Brilliant, thank you both.
All the Best. Paul On Oct 2, 4:41*pm, muddan madhu wrote: check it here http://www.j-walk.com/ss/excel/usertips/tip051.htm On Oct 2, 8:29*pm, Paul Black wrote: That works great, but if the actual hours worked is less than what they should have worked it gives an error. Ideally i would like it to show a + or - in front of it as well. Thanks. All the Best. Paul On Oct 2, 4:21*pm, Sean Timmons wrote: Excel treats time as numbers. So, 1 day = 1. 1 hour = 1/24. 40 hours = 40/24. So, sum of times - (40/24) = answer. format as hours:mins. "Paul Black" wrote: Hi everyone, I have a column of hours and minutes like 19:55, 07:12, 20:12 etc. I have also managed to add up the total number of hours and minutes for each week. I have used a custom format of [hh]:mm which works well. Now, say the weekly working hours are 40, i would like to take the total weekly hours and minutes they actuially worked and subtract what hours they should have worked, i.e. 40. So the formula would be something like ... total hours and minutes actually worked - 40 Thanks in Advance. All the Best Paul- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Stop time - start time calculation | Excel Worksheet Functions | |||
Time calculation (Subraction of Idle Time) | Excel Discussion (Misc queries) | |||
Time calculation | Excel Worksheet Functions | |||
Ignoring Time in a Date Time Calculation | Excel Worksheet Functions | |||
time calculation with military time | Excel Worksheet Functions |