+ Reply to Thread
Results 1 to 3 of 3

Time formula - dont know what else to call it...please read!!

  1. #1
    Registered User
    Join Date
    11-02-2009
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    23

    Time formula - dont know what else to call it...please read!!

    See test file and follow along...i'm in a jam at work.


    As you can see on the test file, i have 4 working shifts for one employee.

    This person clocks in at 7:30am, then starts their break at 9am

    They get a 10 minute break and end their break at 9:10am

    They then work until their lunch starts at 12:30pm

    They take lunch for 30 minutes, then clock back in to work at 1pm

    They work until 2:30pm, take a 10 minute break until 2:40 and work again until 4pm

    I have the exact information from my payroll system as you see here for 100 other employees.


    My boss though doesnt care what time their working shifts are...my boss wants to see what time their non-working shifts are!

    So this creates a problem for me to go through and manually input this in.

    Basically, in column C i want it to read BREAK 9am - 9:10am
    LUNCH 12:30pm - 1pm
    Break 1pm - 2:30pm

    i need a formula for the other 99 people

    thanks
    ANY HELP IS MUCH APPRECIATED
    Attached Files Attached Files
    Last edited by theshark43; 07-14-2011 at 04:06 PM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Time formula - dont know what else to call it...please read!!

    Do you need it to say "Break" and "Lunch"? Otherwise, since your values seem to be entered as text, how about

    =IF(ISTEXT(A2),B1 & " - " & A2,"")? dragged down
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    11-02-2009
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Time formula - dont know what else to call it...please read!!

    your a godsend!

+ 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