+ Reply to Thread
Results 1 to 5 of 5

Night Hours Timesheet Calculation

  1. #1
    Registered User
    Join Date
    11-28-2017
    Location
    New Zealand
    MS-Off Ver
    1710 Excel
    Posts
    2

    Night Hours Timesheet Calculation

    Hi there,

    I was hoping that someone would be able to help me with the following query:

    I am building a new timesheet for our company and I am wanting it to automatically calculate the number of night hours per day from several in and out times.

    Night hours are from 9pm to 6am.

    Below is a sample of what I am trying to calculate timesheet:

    Attendance MON TUES WED
    START TIME 7:30 7:30 3:00
    FINISH TIME 12:00 0:00 4:00
    START TIME 12:30
    FINISH TIME 16:30
    START TIME 17:30
    FINISH TIME 18:30
    START TIME 19:30
    FINISH TIME 20:30
    START TIME 21:30
    FINISH TIME 22:30

    Total Hours 11.50 16.50 1.00
    Night hours

    Can you please help work out how to automatically calculate the Night hours row.

    Many thanks
    Emma

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Night Hours Timesheet Calculation

    Hello and welcome to the forum. Can the shifts ever go through midnight?

  3. #3
    Registered User
    Join Date
    11-28-2017
    Location
    New Zealand
    MS-Off Ver
    1710 Excel
    Posts
    2

    Re: Night Hours Timesheet Calculation

    Hi there,

    Thank you. Yes they can. If this happens the finish time for that night will be 00:00 and the start time on the next day will be 00:00.

    Many thanks
    Emma

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,637

    Re: Night Hours Timesheet Calculation

    This proposed solution employs a helper column for each day.
    The formula that populates the helper columns is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    The SUM function then populates the 'Night Hours' row.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Registered User
    Join Date
    07-04-2019
    Location
    australia
    MS-Off Ver
    10
    Posts
    5

    Re: Night Hours Timesheet Calculation

    yes they do

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 09-13-2017, 10:08 AM
  2. Replies: 3
    Last Post: 06-18-2014, 07:26 AM
  3. [SOLVED] Timesheet with overtime calculation between certain hours, days only
    By ExcelNoviceHexham in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-02-2013, 12:21 PM
  4. Calculating Day Rate and Night Rate Hours on a Timesheet
    By Hahnium in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-21-2013, 08:18 AM
  5. Replies: 4
    Last Post: 09-21-2012, 12:58 AM
  6. [SOLVED] Calculation of Night Allowance between specific hours using excel
    By Womble2011 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-04-2012, 03:49 AM
  7. finding night hours (0-day,1-night) between ranges of data
    By sensation in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-09-2012, 09:08 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1