+ Reply to Thread
Results 1 to 4 of 4

New Time Card

  1. #1
    Registered User
    Join Date
    02-16-2006
    Posts
    41

    New Time Card

    HOW WOULD YOU TAKE THE 1/2 HOUR BREAK TO THE FORMULA BELOW SO IT SHOWS THE EXACT TIME THE PERSON WORKED
    The Cell is information is
    b2 the hours and c2 the hr the shift ends and on d2 woul take out the 1/2 hour for lunch and it would it give you then the hours worked for the day

    Thankyou for your help the formula below maybe wrong so any help would be greatly appreciated
    =TIME(b1/100,MOD(b2,100),0)
    gives 2:11 PM
    when A1 has value 1411

  2. #2
    Biff
    Guest

    Re: New Time Card

    See this:

    http://www.excelforum.com/showthread...hreadid=523774

    Biff

    "OSSIE" <OSSIE.24zmt5_1142891132.6563@excelforum-nospam.com> wrote in
    message news:OSSIE.24zmt5_1142891132.6563@excelforum-nospam.com...
    >
    > HOW WOULD YOU TAKE THE 1/2 HOUR BREAK TO THE FORMULA BELOW SO IT SHOWS
    > THE EXACT TIME THE PERSON WORKED
    > The Cell is information is
    > b2 the hours and c2 the hr the shift ends and on d2 woul take out the
    > 1/2 hour for lunch and it would it give you then the hours worked for
    > the day
    >
    > Thankyou for your help the formula below maybe wrong so any help would
    > be greatly appreciated
    > =TIME(b1/100,MOD(b2,100),0)
    > gives 2:11 PM
    > when A1 has value 1411
    >
    >
    > --
    > OSSIE
    > ------------------------------------------------------------------------
    > OSSIE's Profile:
    > http://www.excelforum.com/member.php...o&userid=31638
    > View this thread: http://www.excelforum.com/showthread...hreadid=524580
    >




  3. #3
    Registered User
    Join Date
    02-16-2006
    Posts
    41
    what i need to know its how many hours the person worked i mean like if they came in 6 am the ens shift its 2:30 pm and the next cell would have the answer as 8 hrs or for my night shift they come in at 14:00 and dont leave till 10:30 taht woudl give me again the 8 hrs or whaterver hours they work hope i explain better thanks

  4. #4
    Biff
    Guest

    Re: New Time Card

    Hi!

    Try this:

    A1 = 6:00 AM
    B1 = 2:30 PM

    =IF(COUNT(A1:B1)<2,"",B1-A1+(B1<A1)-TIME(0,30,0))

    Subtracts 30 minutes for lunch, break, whatever.

    Biff

    "OSSIE" <OSSIE.24zrwb_1142897701.4413@excelforum-nospam.com> wrote in
    message news:OSSIE.24zrwb_1142897701.4413@excelforum-nospam.com...
    >
    > what i need to know its how many hours the person worked i mean like if
    > they came in 6 am the ens shift its 2:30 pm and the next cell would
    > have the answer as 8 hrs or for my night shift they come in at 14:00
    > and dont leave till 10:30 taht woudl give me again the 8 hrs or
    > whaterver hours they work hope i explain better thanks
    >
    >
    > --
    > OSSIE
    > ------------------------------------------------------------------------
    > OSSIE's Profile:
    > http://www.excelforum.com/member.php...o&userid=31638
    > View this thread: http://www.excelforum.com/showthread...hreadid=524580
    >




+ 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