Results 1 to 3 of 3

Thread: How to calculate overtime in Microsoft Excel

  1. #1
    Join Date
    Oct 2011
    Posts
    74

    How to calculate overtime in Microsoft Excel

    I am trying to complete a spreadsheet in hour and minute format that will calculate the overtime for each employee over 40 hours. If I have someone with 45:30 hours and want to have excel calculate the hours of overtime in the next column What formula would I use.
    • =MAX(0,D35-40) doesn't work
    • =IF($D35>40,SUM($D35,-40)," ") doesn't work

  2. #2
    Join Date
    Jun 2011
    Posts
    487

    Re: How to calculate overtime in Microsoft Excel

    Try the following syntax =MAX(0,D35-"40:00"). Format the cell as hh:mm. This formula offers the date format in cell in the form of hh:mm. I am not sure there is any kind of better alternative to do this, but you can try out something else also.

  3. #3
    Join Date
    Jun 2011
    Posts
    798

    Re: How to calculate overtime in Microsoft Excel

    Try:=MAX(0,(D35*24)-40) or =IF(D36>$D$1,D36-$D$1," "). The process is a bit complicated, but if you have all the values in the sheet, then this can be easy to do. I will recommend you to test the above two formula one by one and provide conclusion on which one is working so that the same can help other also.

Similar Threads

  1. Need help to calculate Average of time in Microsoft Excel
    By NardO in forum MS Office Support
    Replies: 2
    Last Post: 23-02-2012, 05:06 PM
  2. How to calculate ages in Microsoft Excel
    By vALaNCiA in forum MS Office Support
    Replies: 2
    Last Post: 17-02-2012, 06:17 PM
  3. Replies: 2
    Last Post: 07-02-2012, 05:56 PM
  4. How to calculate chronological age in Microsoft Excel
    By Mr.Pandhre in forum MS Office Support
    Replies: 4
    Last Post: 27-01-2012, 07:18 PM
  5. How to calculate Autocorrelation in Microsoft Excel
    By connoisseur in forum MS Office Support
    Replies: 4
    Last Post: 18-01-2012, 05:43 PM

Tags for this Thread

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
  •  
Page generated in 1,713,585,868.06822 seconds with 17 queries