+ Reply to Thread
Results 1 to 10 of 10

Timesheet Undetime and Night Differential Calculations

  1. #1
    Registered User
    Join Date
    09-13-2018
    Location
    Philippines
    MS-Off Ver
    2021
    Posts
    30

    Question Timesheet Undetime and Night Differential Calculations

    Good day, masters!

    I badly need help regarding the timesheet spreadsheet.

    Summary of Attendance.xlsm

    In M17, can it calculate the night differential for a schedule? For example, the night differential time starts at 10PM and ends at 6AM.

    In: 10:01 PM
    Out: 6:15 AM
    ND: 8

    In: 10:15 PM
    Out: 10:59 PM
    ND: 0

    In: 10:00 PM
    Out: 11:58 PM
    ND: 1

    Like it counts an additional 1hr ND everytime it consumes an hour of rendered duty.

    Thank you so much!

  2. #2
    Valued Forum Contributor
    Join Date
    06-23-2021
    Location
    Romania
    MS-Off Ver
    2021, 365 v 2208
    Posts
    722

    Re: Timesheet Undetime and Night Differential Calculations

    If(out<in, (out-in+1)*24, (out-in)*24)
    Diana Tanase


    If the solutions offered helped you to solve your problem, then mark the thread as SOLVED (thread tools in the top menu) and you can click on * to add reputation to those who helped you, as a way to say thank you !

  3. #3
    Registered User
    Join Date
    09-13-2018
    Location
    Philippines
    MS-Off Ver
    2021
    Posts
    30

    Re: Timesheet Undetime and Night Differential Calculations

    Quote Originally Posted by tanasedn View Post
    If(out<in, (out-in+1)*24, (out-in)*24)
    Thank you for the reply sir! I just want to clarify if in/out there will only involved actual time ins and outs? Not the scheduled one?

    =IF(F17<E17, (F17-E17+1)*24, (F17-E17)*24)

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,818

    Re: Timesheet Undetime and Night Differential Calculations

    Are the ND hours listed in post #1 the expected results?
    If so, then I don't understand why 10:01 PM to 6:15 AM should be 8 and 10:00 PM to 11:58 PM should be 1.
    It would seem that either the former should be 7 or the latter should be 2.
    Please give us an explanation of the rules governing the number of ND hours.
    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
    09-13-2018
    Location
    Philippines
    MS-Off Ver
    2021
    Posts
    30

    Re: Timesheet Undetime and Night Differential Calculations

    Thank you for the reply sir.

    The employee sir must render a complete 60-minute duration of duty before counting a 1 Night Differential Hour, which in this case, 10:00 PM to 11:58 PM , lacking 2 minutes before 12:00mn.

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,818

    Re: Timesheet Undetime and Night Differential Calculations

    In that event it would seem that the ND 10:01 PM to 6:15 AM should be 7 as ND ends at 6:00 AM so the formula should count 60-minute durations from 10:01 PM to 6:00 AM
    What am I missing?

  7. #7
    Registered User
    Join Date
    09-13-2018
    Location
    Philippines
    MS-Off Ver
    2021
    Posts
    30

    Re: Timesheet Undetime and Night Differential Calculations

    Yes sir. It will only be 7 ND hours.

  8. #8
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,818

    Re: Timesheet Undetime and Night Differential Calculations

    Assuming that this should go in column M try the following in M17:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    09-13-2018
    Location
    Philippines
    MS-Off Ver
    2021
    Posts
    30

    Re: Timesheet Undetime and Night Differential Calculations

    Quote Originally Posted by JeteMc View Post
    Assuming that this should go in column M try the following in M17:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Thank you so much sir!!!!

  10. #10
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,818

    Re: Timesheet Undetime and Night Differential Calculations

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. I hope that you have a blessed day.

+ 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. Night Differential Calculation
    By ScyberMhaster in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 07-03-2022, 11:07 AM
  2. Night Differential
    By jacknhell in forum Excel General
    Replies: 4
    Last Post: 03-14-2018, 03:13 AM
  3. How to get Night differential Schedule Formula
    By joaquinq in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-03-2018, 11:37 AM
  4. [SOLVED] Night differential
    By remyte in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-04-2016, 04:23 PM
  5. [SOLVED] Night Shift Differential
    By vaium in forum Excel General
    Replies: 9
    Last Post: 04-15-2016, 11:05 AM
  6. Timesheet calculations with overtime and shift differential
    By JHSVic in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-17-2014, 10:57 AM
  7. How to calculate Night Differential
    By mar_t in forum Excel General
    Replies: 10
    Last Post: 01-04-2013, 01:55 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