#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default tracking time

greetings all,
I have a file where i am tracking time. periodically a new line is added
with the new time. for reason difficult to explain, periodically, the time
gets reset to zero i.e. starts over. currently i am using format dd:hh:mm:ss
this works well but occasionally the time runs beyond 30 days(1 month) and
the above format resets to day 1 when it goes beyond 30 day(1 month?). i have
tried dilffernts format to try and make the days roll over ie 35:00:00:00 but
to no avail.
[dd]:hh:mm:ss doesn't work.
can someone give me some pointers/tips/directions on my dilima.

help would be most appreciated.
regards
FSt1

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7,247
Default tracking time

The dd format code returns the day of month for the value. Therefore,
the formated dd value will always be between 1 and 31. The day of
month begins at 1-Jan-1900, so after 31 days, it will roll back to 1,
indicating Feb 1, 1900. The dd format code does not support the
square bracket modifiers as do the hh and mm format codes.

Cordially,
Chip Pearson
Microsoft MVP 1998 - 2010
Pearson Software Consulting, LLC
www.cpearson.com
[email on web site]



On Fri, 11 Dec 2009 14:47:01 -0800, FSt1
wrote:

greetings all,
I have a file where i am tracking time. periodically a new line is added
with the new time. for reason difficult to explain, periodically, the time
gets reset to zero i.e. starts over. currently i am using format dd:hh:mm:ss
this works well but occasionally the time runs beyond 30 days(1 month) and
the above format resets to day 1 when it goes beyond 30 day(1 month?). i have
tried dilffernts format to try and make the days roll over ie 35:00:00:00 but
to no avail.
[dd]:hh:mm:ss doesn't work.
can someone give me some pointers/tips/directions on my dilima.

help would be most appreciated.
regards
FSt1

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7,247
Default tracking time

If you need the format for display only, not as a value that can be
used in calculation, the following formula will return a string of the
format dd:hh:mm:ss for the value in A1.

=INT(A1)&":"&TEXT(A1-INT(A1),"hh:mm:ss")

Cordially,
Chip Pearson
Microsoft MVP 1998 - 2010
Pearson Software Consulting, LLC
www.cpearson.com
[email on web site]



On Fri, 11 Dec 2009 14:47:01 -0800, FSt1
wrote:

greetings all,
I have a file where i am tracking time. periodically a new line is added
with the new time. for reason difficult to explain, periodically, the time
gets reset to zero i.e. starts over. currently i am using format dd:hh:mm:ss
this works well but occasionally the time runs beyond 30 days(1 month) and
the above format resets to day 1 when it goes beyond 30 day(1 month?). i have
tried dilffernts format to try and make the days roll over ie 35:00:00:00 but
to no avail.
[dd]:hh:mm:ss doesn't work.
can someone give me some pointers/tips/directions on my dilima.

help would be most appreciated.
regards
FSt1

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default tracking time

hi
thanks chip. coming from you that more or less sez it. bummer.

regards
FSt1

"Chip Pearson" wrote:

The dd format code returns the day of month for the value. Therefore,
the formated dd value will always be between 1 and 31. The day of
month begins at 1-Jan-1900, so after 31 days, it will roll back to 1,
indicating Feb 1, 1900. The dd format code does not support the
square bracket modifiers as do the hh and mm format codes.

Cordially,
Chip Pearson
Microsoft MVP 1998 - 2010
Pearson Software Consulting, LLC
www.cpearson.com
[email on web site]



On Fri, 11 Dec 2009 14:47:01 -0800, FSt1
wrote:

greetings all,
I have a file where i am tracking time. periodically a new line is added
with the new time. for reason difficult to explain, periodically, the time
gets reset to zero i.e. starts over. currently i am using format dd:hh:mm:ss
this works well but occasionally the time runs beyond 30 days(1 month) and
the above format resets to day 1 when it goes beyond 30 day(1 month?). i have
tried dilffernts format to try and make the days roll over ie 35:00:00:00 but
to no avail.
[dd]:hh:mm:ss doesn't work.
can someone give me some pointers/tips/directions on my dilima.

help would be most appreciated.
regards
FSt1

.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default tracking time

hi
your formula works good but unfortunely..off to the side. maybe i can add a
column, dump the times in a hidden column and display the "other" times in
the new column. our engineering department seem to be sexually stimulated by
numbers so maybe they will get off on all the extra numbers. i'll work on it.
thanks for the inside. you have taught me something.

Regards
FSt1

"Chip Pearson" wrote:

If you need the format for display only, not as a value that can be
used in calculation, the following formula will return a string of the
format dd:hh:mm:ss for the value in A1.

=INT(A1)&":"&TEXT(A1-INT(A1),"hh:mm:ss")

Cordially,
Chip Pearson
Microsoft MVP 1998 - 2010
Pearson Software Consulting, LLC
www.cpearson.com
[email on web site]



On Fri, 11 Dec 2009 14:47:01 -0800, FSt1
wrote:

greetings all,
I have a file where i am tracking time. periodically a new line is added
with the new time. for reason difficult to explain, periodically, the time
gets reset to zero i.e. starts over. currently i am using format dd:hh:mm:ss
this works well but occasionally the time runs beyond 30 days(1 month) and
the above format resets to day 1 when it goes beyond 30 day(1 month?). i have
tried dilffernts format to try and make the days roll over ie 35:00:00:00 but
to no avail.
[dd]:hh:mm:ss doesn't work.
can someone give me some pointers/tips/directions on my dilima.

help would be most appreciated.
regards
FSt1

.

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
Time Tracking Help Sri Excel Discussion (Misc queries) 0 April 1st 08 01:38 PM
Help with time (shift) tracking Makenzi Excel Discussion (Misc queries) 0 April 11th 07 08:30 PM
Tracking Time CCS Excel Worksheet Functions 1 July 12th 06 12:27 AM
Tracking Time brucek Excel Discussion (Misc queries) 1 March 22nd 06 09:16 PM
Tracking time Hans Peter Excel Worksheet Functions 1 March 18th 06 08:07 PM


All times are GMT +1. The time now is 12:02 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"