Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
I have tried various formats but cannot sum the following:-
B5=12:00:00 C5=14:00:00 D5=TEXT(C5-B5,"h:mm")=2:00 B6=18:19:20 C6=19:19:20 D6=TEXT(C6-B6,"h:mm")=1:00 B7=03:00:00 C7=21:00:00 D7=TEXT(C7-B7,"h:mm")=18:00 .. TOTAL D8=21:00 but what is the formula to Sum D5:D7? Thanks, Nosam (OldGiraffe). |
#2
![]() |
|||
|
|||
![]()
Hi Nosam,
Why do you use Text for D5? It would be easier if you just used -C5-B5, and formatted the cell as hh:mm. The sum would work fine then, just format the sum cell as [hh]:mm to cater for more than 24 hours. -- HTH RP (remove nothere from the email address if mailing direct) "nosam" wrote in message ... I have tried various formats but cannot sum the following:- B5=12:00:00 C5=14:00:00 D5=TEXT(C5-B5,"h:mm")=2:00 B6=18:19:20 C6=19:19:20 D6=TEXT(C6-B6,"h:mm")=1:00 B7=03:00:00 C7=21:00:00 D7=TEXT(C7-B7,"h:mm")=18:00 . TOTAL D8=21:00 but what is the formula to Sum D5:D7? Thanks, Nosam (OldGiraffe). |
#3
![]() |
|||
|
|||
![]()
Many thanks.
I do not know how I went down the TEXT path which caused complications! Nosam. "Bob Phillips" wrote: Hi Nosam, Why do you use Text for D5? It would be easier if you just used -C5-B5, and formatted the cell as hh:mm. The sum would work fine then, just format the sum cell as [hh]:mm to cater for more than 24 hours. -- HTH RP (remove nothere from the email address if mailing direct) "nosam" wrote in message ... I have tried various formats but cannot sum the following:- B5=12:00:00 C5=14:00:00 D5=TEXT(C5-B5,"h:mm")=2:00 B6=18:19:20 C6=19:19:20 D6=TEXT(C6-B6,"h:mm")=1:00 B7=03:00:00 C7=21:00:00 D7=TEXT(C7-B7,"h:mm")=18:00 . TOTAL D8=21:00 but what is the formula to Sum D5:D7? Thanks, Nosam (OldGiraffe). |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Adding hours and minutes | Excel Worksheet Functions | |||
Format cell in column B based on value in the next cell (column c) | Excel Discussion (Misc queries) | |||
convert hours and minutes to minutes | Excel Discussion (Misc queries) | |||
add column of minutes, show total in hours & minutes | Excel Worksheet Functions | |||
calculate average hours and minutes | Excel Worksheet Functions |