+ Reply to Thread
Results 1 to 9 of 9

formula to calculate hours minus 1/2 hr lunch if more than 5 hrs of work + overtime

  1. #1
    Registered User
    Join Date
    05-28-2013
    Location
    Santa Cruz CA
    MS-Off Ver
    Excel 2007
    Posts
    6

    formula to calculate hours minus 1/2 hr lunch if more than 5 hrs of work + overtime

    Hi to All,

    I am trying to fine tune my time sheet so I don't have to manually subtract 1/2 hr for lunch. I also need it to automatically add overtime hrs if more than 8 hrs are worked a day.I copied a formula from this forum but it still took 1/2 hr off even though they only worked 4 hrs.
    Regular hours are from 7am-3:30pm with a 1/2 hr lunch from 12 pm-12:30 pm. On days that employees work from 7 am- 12pm we don't subtract lunch.

    I am attaching my timesheet if that will help.

    I hope someone can help me with this, I am going crazy.

    Thanks
    Solray

    calc hrs worked.xlsx

  2. #2
    Valued Forum Contributor ratcat's Avatar
    Join Date
    03-07-2008
    Location
    Rural NSW, Australia
    MS-Off Ver
    Vista 2007
    Posts
    1,111

    Re: formula to calculate hours minus 1/2 hr lunch if more than 5 hrs of work + overtime

    G'day and welcome to the forum,

    I find it easier to break the calculation(s) than stick the long formula to get lost in.

    See attachment and any feedback is always welcomed
    Attached Files Attached Files
    Have I made you happy ??? If yes, please make me happy by pressing the http://www.excelforum.com/images/buttons/reputation-40b.png Add Reputation button in my post.
    Please don't forget to do the same to other contributors of this forum.

    Thanks
    I don't void confusion, I create it

  3. #3
    Registered User
    Join Date
    05-28-2013
    Location
    Santa Cruz CA
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: formula to calculate hours minus 1/2 hr lunch if more than 5 hrs of work + overtime

    Hi ratcat, thank you very much it looks great. didn't think to break up the calcs but it makes a lot of sense. i am going to give it a good look over and hopefully have more feedback.

    thanks again
    solray

  4. #4
    Registered User
    Join Date
    05-28-2013
    Location
    Santa Cruz CA
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: formula to calculate hours minus 1/2 hr lunch if more than 5 hrs of work + overtime

    Hi ratcat, I need a little more help on the spreadsheet. If someone works more than 8 hrs a day i need the extra hrs to go to the overtime column and then get added to the final total. As it is now the overtime hrs are going to regular hrs. Is this possible. Thanks for your help again.

    Solray

  5. #5
    Registered User
    Join Date
    05-28-2013
    Location
    Santa Cruz CA
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: formula to calculate hours minus 1/2 hr lunch if more than 5 hrs of work + overtime

    Hi ratcat, I need a little more help on the spreadsheet. If someone works more than 8 hrs a day i need the extra hrs to go to the overtime column and then get added to the final total. As it is now the overtime hrs are going to regular hrs. Is this possible. Thanks for your help again.

    Solray

  6. #6
    Valued Forum Contributor ratcat's Avatar
    Join Date
    03-07-2008
    Location
    Rural NSW, Australia
    MS-Off Ver
    Vista 2007
    Posts
    1,111

    Re: formula to calculate hours minus 1/2 hr lunch if more than 5 hrs of work + overtime

    Quote Originally Posted by Solray View Post
    ......As it is now the overtime hrs are going to regular hrs. Is this possible.........
    Yes it does happen in columns X, Y. But what I suspect you like it not in the total columns but in the Days columns. Well make a new columns within the timesheet and move the formulas in columns AC and beyond. Basically from what I understand all the information is there for you just not in the right place ?
    Without sounding rude...."Is this possible?" Yes, people who help themselves will get help.

    Tho if I have misunderstood you, please retry explaining yourself.

  7. #7
    Valued Forum Contributor ratcat's Avatar
    Join Date
    03-07-2008
    Location
    Rural NSW, Australia
    MS-Off Ver
    Vista 2007
    Posts
    1,111

    Re: formula to calculate hours minus 1/2 hr lunch if more than 5 hrs of work + overtime

    Edit: Double posted. Stupid site timed out on me

  8. #8
    Registered User
    Join Date
    05-28-2013
    Location
    Santa Cruz CA
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: formula to calculate hours minus 1/2 hr lunch if more than 5 hrs of work + overtime

    Hi Ratcat, no worries on sounding rude, i know it is possible I don't have a good understanding of the IF formula and don't want to screw it up. What i want is if someone works 9 hrs the 9th hr goes into the overtime column Y. I am going try what you said to do.
    Thanks
    solray

  9. #9
    Registered User
    Join Date
    05-28-2013
    Location
    Santa Cruz CA
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: formula to calculate hours minus 1/2 hr lunch if more than 5 hrs of work + overtime

    Hi ratcat , thanks for your help and patients. I figured it out it was super simple, it was there but had just not ben filled all the way down. I really appreciate your help on this my life has gotten a lot easier.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1