Hello All! File & Photo are attached below.
Spreadsheet Purpose: WORK HOURS per MTH with breaks & night time rate exta including Year Summary of Hours, Pay & Miles.
Question/Issue: Need Formula to calculate number of night hours worked in a shift, using 4 values (Detailed below).
Currently is manual edit of total hours in Month Tabs (Jan-Dec) Columns AB, did try various formulas such as Sumproduct but this didn't work with cell formatting of hours [hh]:mm:
1. Start Time = Column F. Cell Format: [hh]:mm
2. Finish Time = Column G. Cell Format: [hh]:mm
3. Night Shift Hours Definition from = Cell AK17 (00:00)
4. Night Shift Hours Definition to = Cell AK20 (06:00)
Formulas of Night Shift see tab JAN:
COLUMN AB: Night Hours total per shift (Currently manual edit for example 6 hours, so FORMULA needed here!)
COLUMN AC: £ Night Hours amount extra total per shift manual edit
COLUMN AD: £ Night Hours amount extra total per shift manual edit
After lots of Googling and various edits, the manual edit is the only working version, even after many sparkling drinks and stargazing, but in Excel 2003, the many formulas I tried didn' work with the Time/Date cell formatting, or were more aligned with metric calculation.
Cheers
HoursXL.png
Bookmarks