Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Spreadsheets (https://www.askmehelpdesk.com/forumdisplay.php?f=395)
-   -   Excel Formulas (https://www.askmehelpdesk.com/showthread.php?t=326839)

  • Mar 9, 2009, 07:13 AM
    DBJC
    1 Attachment(s)
    Excel Formulas
    Hello,

    I am looking for the proper formulas for a timesheet file. I have placed notes on the attachment explaing what I am looking for.
    Good luck and thanks !

    Dave
  • Mar 9, 2009, 07:21 AM
    ScottGem

    Is Row 30 a total of all time per day, including Standby?

    If so, you can use something like this:

    =IF(SUM(J7:J26)<8,0,(SUM(J7:J26)-8)*1.5)
  • Mar 9, 2009, 07:34 AM
    DBJC

    Hey Scott,

    Half way there.
    Row 30 is the total of all regular time, including standby. You rock!

    Thanks!
  • Mar 9, 2009, 07:38 AM
    ScottGem

    Then the formula should work. It totals the hours excluding standby. If there are more than 8, it will calculate 1.5 of the hours over 8.
  • Mar 9, 2009, 07:48 AM
    DBJC

    What would be the formula for the cell H30?
  • Mar 9, 2009, 10:42 AM
    ScottGem

    Sum the column and add the standby.
  • Mar 9, 2009, 10:53 AM
    DBJC

    Sorry Scott, but I don't want that formula to total up more than 8 between cells H7-H26 and then add on cell H28. I hope that makes sense. If I just sum them up I will get overtime hours included.
  • Mar 9, 2009, 10:57 AM
    ScottGem

    Ok, no more than 8 including the standby or no more than 8 plus the standby?

    If the former, than use:

    =IF(Sum(H7:27)+H29>8,8,Sum(H7:27)+H29)

    If the latter drop the standby row.
  • Mar 9, 2009, 11:24 AM
    DBJC

    Perfect Scott.
    Thank-you very very much for your prompt help.

    Dave
  • Mar 9, 2009, 04:22 PM
    JBeaucaire

    As an alternate to having to SUM the range twice, this would do it one pass:

    =MIN(8,Sum(H7:27)+H29)

  • All times are GMT -7. The time now is 08:23 PM.