Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Hema,
To check if difference is negative and display as a negative time if negative: =IF(D2C2,"-"&TEXT(D2-C2,"H:MM"),TEXT(C2-D2,"H:MM")) To sum a range (rows 2 through 100): =IF(SUM(D2:D100)SUM(C2:C100),"-"&TEXT(SUM(D2:D100)-SUM(C2:C100),"H:MM"),TEXT(SUM(C2:C100)-SUM(D2:D100),"H:MM")) "hema" wrote: A B C D E 1 In Time Out time Actual hours Working hours 2 9:00 17:00 8:00 8:45 =C2-D2 In the E2 cell i am getting only ####,here i want to get the negative hours |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
calculation with hours and minutes - input of negative values | Excel Discussion (Misc queries) | |||
how do i show negative time in hours minutes | Excel Worksheet Functions | |||
Negative Working Hours | Excel Worksheet Functions | |||
How to show negative time (e.g. -10 hours) | Excel Worksheet Functions | |||
How can I show hours of more than 24 & negative hours? | Excel Worksheet Functions |