Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a sheet where I am trying to calculate hours worked against hours
allowed. I am able to add the hours worked in a period but when I try to subtract the hours worked from the hours allowed I get an error if the hours worked are lower than what is allowed. This is what it looks like: hours worked 42:26:00 29:31:00 hours allowed 41:00:00 38:00:00 Over Budget 1:26:00 ######################## The formula for over budget is as follows: =IF(D29<0,(D29-D30)," ") Does anyone know how to make this work show it shows me the correct information? Thanks in advance. Ed Davis |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
The problem is that Excel won't display negative time unless you use the
1904 date system. The 1904 date system can cause other problems so I would recommend not using it. What you can do is use a decimal format instead. =IF(D29<0,(D29-D30)*24,"") Format as GENERAL Biff "Ed Davis" wrote in message ... I have a sheet where I am trying to calculate hours worked against hours allowed. I am able to add the hours worked in a period but when I try to subtract the hours worked from the hours allowed I get an error if the hours worked are lower than what is allowed. This is what it looks like: hours worked 42:26:00 29:31:00 hours allowed 41:00:00 38:00:00 Over Budget 1:26:00 ######################## The formula for over budget is as follows: =IF(D29<0,(D29-D30)," ") Does anyone know how to make this work show it shows me the correct information? Thanks in advance. Ed Davis |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
What problems can possibly be caused by the 1904 date system? It can
display negative times if the OP chooses, and it doesn't include any imaginary dates the way the 1900 system does... Certainly blindly mixing date systems can result in problems when copying from a workbook using one system to a workbook using the other, but that's not a problem caused by either system... In article , "T. Valko" wrote: The 1904 date system can cause other problems so I would recommend not using it. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
but that's not a problem
Biff "JE McGimpsey" wrote in message ... What problems can possibly be caused by the 1904 date system? It can display negative times if the OP chooses, and it doesn't include any imaginary dates the way the 1900 system does... Certainly blindly mixing date systems can result in problems when copying from a workbook using one system to a workbook using the other, but that's not a problem caused by either system... In article , "T. Valko" wrote: The 1904 date system can cause other problems so I would recommend not using it. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Time sheet formula? | Excel Discussion (Misc queries) | |||
Help With Time Sheet Formula | Excel Discussion (Misc queries) | |||
Formula for a time sheet | Excel Discussion (Misc queries) | |||
How do I set up a formula on a time sheet to calculate time in 1/. | Excel Discussion (Misc queries) | |||
formula to calculate a time sheet | Excel Worksheet Functions |