Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
nosam
 
Posts: n/a
Default How to sum a column of hours & minutes in format TEXT(C5-B5,"h:mm"

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   Report Post  
Bob Phillips
 
Posts: n/a
Default

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   Report Post  
nosam
 
Posts: n/a
Default

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding hours and minutes Patrick Excel Worksheet Functions 16 June 18th 08 09:24 PM
Format cell in column B based on value in the next cell (column c) Nicole Excel Discussion (Misc queries) 7 May 18th 05 10:19 PM
convert hours and minutes to minutes idaho Excel Discussion (Misc queries) 2 January 27th 05 09:45 PM
add column of minutes, show total in hours & minutes glider pilot Excel Worksheet Functions 1 December 30th 04 10:27 PM
calculate average hours and minutes llstephens Excel Worksheet Functions 4 November 30th 04 03:47 PM


All times are GMT +1. The time now is 03:03 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"