+ Reply to Thread
Results 1 to 11 of 11

calculate time spent working but ignore a set break period

  1. #1
    Registered User
    Join Date
    07-13-2013
    Location
    London
    MS-Off Ver
    Excel 2004
    Posts
    7

    Question calculate time spent working but ignore a set break period

    Hello, I made a account just to ask this question.

    I want to do a sort of work table showing the time I started and the time I finished with a 30 min break in the middle for example, which then calculates the total time worked next to it taking away break time, I'm a novice.

    Here is a example.

    This is in time;

    Start Lunch End Time spent working (hours)
    09:30 13:00 15:00 Time goes here.
    Last edited by The man2; 07-13-2013 at 04:40 AM.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Need help

    hi The man2 unfortunately
    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    07-13-2013
    Location
    London
    MS-Off Ver
    Excel 2004
    Posts
    7

    Re: Need help

    Quote Originally Posted by martindwilson View Post
    hi The man2 unfortunately
    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    I don't quite know what to call it...

    So any help on the actual problem at all?
    Last edited by The man2; 07-13-2013 at 04:37 AM.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Need help with Time tabling + formatting.

    not allowed to it will only get deleted by a mod
    Need help with Time tabling + formatting.
    change to something like
    calculate time difference but ignore a set break period

  5. #5
    Registered User
    Join Date
    07-13-2013
    Location
    London
    MS-Off Ver
    Excel 2004
    Posts
    7

    Re: Need help with Time tabling + formatting.

    Quote Originally Posted by martindwilson View Post
    not allowed to it will only get deleted by a mod
    Need help with Time tabling + formatting.
    change to something like
    calculate time difference but ignore a set break period
    Changed, but that's rather silly, a newb comes in for help to get help, gets gangjumped by mods...

    Anyways, NOW can I get help?

  6. #6
    Registered User
    Join Date
    07-13-2013
    Location
    London
    MS-Off Ver
    Excel 2004
    Posts
    7

    Re: calculate time spent working but ignore a set break period

    This is for a Uni placement to keep track easily of hours worked..

    Since it has to be on Excel...

  7. #7
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: calculate time spent working but ignore a set break period

    well assuming lunch is 1/2 hour and its always between the times and always 30 mins and if you dont have lunch the cell in col b is blank
    =(C2-A2-IF(B2="",0,"00:30"))*24 cell formatted general
    ps
    but that's rather silly
    but you did agree to rule 1 when you joined the forum
    Last edited by martindwilson; 07-13-2013 at 05:09 AM.

  8. #8
    Registered User
    Join Date
    07-13-2013
    Location
    London
    MS-Off Ver
    Excel 2004
    Posts
    7

    Re: calculate time spent working but ignore a set break period

    Quote Originally Posted by martindwilson View Post
    well assuming lunch is 1/2 hour and its always between the times and always 30 mins and if you dont have lunch the cell in col b is blank
    =(C2-A2-IF(B2="",0,"00:30"))*24 cell formatted general
    Thanks, but I get negative numbers?

  9. #9
    Registered User
    Join Date
    07-13-2013
    Location
    London
    MS-Off Ver
    Excel 2004
    Posts
    7

    Re: calculate time spent working but ignore a set break period

    Quote Originally Posted by martindwilson View Post
    but you did agree to rule 1 when you joined the forum
    Sometimes a newcommer won't know what to title his thread....

    Yeah, it keeps showing it in negatives I.E -7 or -6, I use 24 hour clock.

  10. #10
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: calculate time spent working but ignore a set break period

    i dont know what cells you are using
    see mine
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    07-13-2013
    Location
    London
    MS-Off Ver
    Excel 2004
    Posts
    7

    Re: calculate time spent working but ignore a set break period

    I fixed it.

    Thank you very much

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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