+ Reply to Thread
Results 1 to 4 of 4

Timesheet: IF hours worked is 6 hours or more then deduct half an hour

  1. #1
    Registered User
    Join Date
    09-30-2023
    Location
    London
    MS-Off Ver
    365
    Posts
    5

    Timesheet: IF hours worked is 6 hours or more then deduct half an hour

    Hello,

    I need some help with a "IF" formula.

    I would like to have a column with start time and end time and then a total number of "worked hours" column.
    I would like the total number of "worked hours" to have a formula which works out the total amount of hours ,minus 30 mins break if total numbers of hours are 6 or more.


    anyone up for the challenge?

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,787

    Re: Timesheet: IF hours worked is 6 hours or more then deduct half an hour

    It would help if you attached a sample Excel workbook so we can see how your data is laid out - details of how to do this are given in one of the yellow banners at the top of the screen.

    Pete

  3. #3
    Registered User
    Join Date
    01-04-2022
    Location
    Europe
    MS-Off Ver
    2021
    Posts
    32

    Re: Timesheet: IF hours worked is 6 hours or more then deduct half an hour

    That's the easiest thing ever, but how is your time formatted? Also, not the cleanest code, but it should work
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    You could even write
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by Seabottom; 09-30-2023 at 02:40 PM.

  4. #4
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Timesheet: IF hours worked is 6 hours or more then deduct half an hour

    Something like this?
    Attached Files Attached Files
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

+ 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: 2
    Last Post: 08-10-2023, 03:39 PM
  2. Timesheet formula to subtract 1/2 a hour lunch only if 6 hours are worked
    By MrsBoot in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-20-2020, 01:55 PM
  3. [SOLVED] Need formula to auto-deduct 30 minutes from hours worked if over 6 hours
    By BluesJunkie in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-06-2014, 03:07 PM
  4. Replies: 4
    Last Post: 02-12-2013, 07:01 AM
  5. Replies: 2
    Last Post: 02-11-2013, 02:26 PM
  6. Replies: 2
    Last Post: 03-22-2012, 01:17 PM
  7. [SOLVED] how do I round hours worked to the next half hour with a 24hr shif
    By gycoso3 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-28-2006, 04:30 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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1