#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 125
Default HH:MM:SS

HH:MM:SS



A storyline has length of scene in col D and running total in col F and
times are entered in seconds.

So:



Scene 1 B1 = 5 D1 = 00:00:05
(=B1)

Scene 2 B11 = 20 D11 = 00:00:25
(=B11+D1)

Scene 3 B21 = 55 D21 = 00:01:20
(=B21+D11)

Etc



Question 1

How should the cells be formatted?

Presumably "HH:MM:SS" or "MM:SS" if only minutes and seconds needed.



Question 2

Can the seconds be entered into col B simply as a numeral "5" or must they
be entered as "00:00:05"?



I have not needed to work with time for ages and I am getting into an awful
muddle!

Please help.



Francis Hookham






  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default HH:MM:SS

If times are entered as numbers ( 5, 20,35) in column B
Then D1 need =TIME(,,B1)
D11 needs =D1+TIME(,,B11)
Yes, format as HH:MM:SS
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Francis Hookham" wrote in message
...
HH:MM:SS



A storyline has length of scene in col D and running total in col F and
times are entered in seconds.

So:



Scene 1 B1 = 5 D1 = 00:00:05 (=B1)

Scene 2 B11 = 20 D11 = 00:00:25 (=B11+D1)

Scene 3 B21 = 55 D21 = 00:01:20 (=B21+D11)

Etc



Question 1

How should the cells be formatted?

Presumably "HH:MM:SS" or "MM:SS" if only minutes and seconds needed.



Question 2

Can the seconds be entered into col B simply as a numeral "5" or must they
be entered as "00:00:05"?



I have not needed to work with time for ages and I am getting into an
awful muddle!

Please help.



Francis Hookham








  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,091
Default HH:MM:SS

Excel maintains times as fractions of 24 hours. 1 hour is 1/24, 1 minute is
1/(24*60) and 1 second is 1/(24*60*60). If you enter a 5 you're telling
Excel 5 days not 5 seconds as in the entry 00:00:05 which is 1/(24*60*60) *
5 - i.e 0.0000578703703703704 which is 5 seconds. You can format the times
as [h]:mm:ss which will show the elapsed time even if the time exceeds 24
hours. If you enter a 5 to be 5 seconds you will have to do the math to
convert that to Excel's 5 seconds. In other words use the TIME function. If
you enter 5 in A1 to mean 5 seconds, use =TIME(0,0,A1) to get 5 seconds in
Excel's time.

Tyro

"Francis Hookham" wrote in message
...
HH:MM:SS



A storyline has length of scene in col D and running total in col F and
times are entered in seconds.

So:



Scene 1 B1 = 5 D1 = 00:00:05 (=B1)

Scene 2 B11 = 20 D11 = 00:00:25 (=B11+D1)

Scene 3 B21 = 55 D21 = 00:01:20 (=B21+D11)

Etc



Question 1

How should the cells be formatted?

Presumably "HH:MM:SS" or "MM:SS" if only minutes and seconds needed.



Question 2

Can the seconds be entered into col B simply as a numeral "5" or must they
be entered as "00:00:05"?



I have not needed to work with time for ages and I am getting into an
awful muddle!

Please help.



Francis Hookham








  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 125
Default HH:MM:SS

Thanks to you both, Tyro and Bernard - just what I wanted.

One further question:

In XL one can format "#,##0.00" using the hash to determin what happens if
the number is greater than 9.

Is there a way of formating the hh:mm:ss cells so that mm:ss show until more
than 59mins and 59secs - I hope that's clear.

45mins and 25 secs is displayed as 45:25 and not as 00:45:25

but 75mins and 25 secs automatically show as 01:15:25 withing the same
formatted cell.

Thanks

Francis


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,345
Default HH:MM:SS

Question 1

Presumably "HH:MM:SS" or "MM:SS" if only minutes and seconds needed.


Yes provided that the total time will not go over 60 minutes otherwise you
will need the HH as well.


Question 2


Can the seconds be entered into col B simply as a numeral "5" or must they
be entered as "00:00:05"?


I would have a helper column - say Column C with the formula:

=IF(B2<"",B2/86400,"")

then in Column D2:

=IF(C2<"",C2)

In D3:

=IF(C3<"",SUM($C$2:C3),"")

and drag down on the fill handle, then hide Column C

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Francis Hookham" wrote in message
...
HH:MM:SS



A storyline has length of scene in col D and running total in col F and
times are entered in seconds.

So:



Scene 1 B1 = 5 D1 = 00:00:05 (=B1)

Scene 2 B11 = 20 D11 = 00:00:25 (=B11+D1)

Scene 3 B21 = 55 D21 = 00:01:20 (=B21+D11)

Etc



Question 1

How should the cells be formatted?

Presumably "HH:MM:SS" or "MM:SS" if only minutes and seconds needed.



Question 2

Can the seconds be entered into col B simply as a numeral "5" or must they
be entered as "00:00:05"?



I have not needed to work with time for ages and I am getting into an
awful muddle!

Please help.



Francis Hookham











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



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

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

About Us

"It's about Microsoft Excel"