LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Blue Hornet
 
Posts: n/a
Default

Well, I'd scrap what you have and start over. The logbook format that
you have is suitable for operators and managers to write, for example,
the status of the plant and equipment at hourly intervals, but it does
not suit what you're trying to do.

Instead I'd make up a sheet with 6 columns, as:
A. Date
B. Start Time
C. Stop Time
D. This Run
E. Daily Running Time
F. Total Run Time by Day

Columns A through C should be obvious. I'd format the first column for
"date" however you want that to appear. Columns B & C I'd format for
however you want to enter your "o'clock" times, and D-E-F I'd format
for "h:mm" to show hours and minutes of operation.

Formula in column D:D is (at D2, and copied down however many rows):
=IF( AND( ISNUMBER( C2), ISNUMBER( B2)), C2 - B2, IF( ISNUMBER( B2),
NOW() - B2, ""))

Formula in column E:E is (also at E2, and copied downward):
=IF( ISNUMBER( D2), IF( A2 = A1, D2 + E1, D2), "")

Formula in column F:F is (same method):
=IF( A2 = A3, "", E2)

You can hide column E:E. You need to have it compute, but you don't
need to display it.

This does not have error-trapping (start times after stop times, dates
in incorrect sequence, etc.), so it's not a real "application", but you
can develop that stuff. Your sheet arrangement above is entirely
unsuitable, but an arrangement like this will let you show plant
operations for months and months ... on a single worksheet.

And your actual hours of operation in your example are 9:30, not 9:00.

Chris

 
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
Figuring military time for total hours David Nelms Excel Worksheet Functions 3 July 5th 05 05:00 PM
calculating hours bus2408 Excel Worksheet Functions 2 June 23rd 05 02:39 PM
calculate hours just can't figure it out monish74 Excel Worksheet Functions 1 February 13th 05 07:31 PM
calculate difference in time to hours Chris Excel Worksheet Functions 5 January 18th 05 06:07 PM
Subtracting paid hours from unpaid hours ejerry7 Excel Worksheet Functions 5 November 29th 04 04:16 AM


All times are GMT +1. The time now is 07:49 AM.

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"