+ Reply to Thread
Results 1 to 10 of 10

Roster

  1. #1
    Greg Brow
    Guest

    Roster

    I have asked this before but I am looking to have a spreadsheet that will
    calculate the hours worked minus their meal breaks. I would like to do 2
    things:

    1st one is :

    We work more than 5 hours we need to have a 30 minute meal break, If we
    work more than 8 hours we have to have an hour.

    Can i make a macro that will calculate this automatically.

    part 2:

    Is it possible to make excel not show the results unless the work times have
    been inserted into cells b3 and c3.

    Thanks in advance

    Greg



  2. #2
    JE McGimpsey
    Guest

    Re: Roster

    Not sure why you need a macro. A worksheet function works fine:


    =IF(COUNT(B3,C3)<2,"",B3+C3-TIME(0,30,0)*((B3+C3)>5/24)

    In article <cubdf8$f48$1@lust.ihug.co.nz>,
    "Greg Brow" <gregslaptop@ihug.com.au> wrote:

    > I have asked this before but I am looking to have a spreadsheet that will
    > calculate the hours worked minus their meal breaks. I would like to do 2
    > things:
    >
    > 1st one is :
    >
    > We work more than 5 hours we need to have a 30 minute meal break, If we
    > work more than 8 hours we have to have an hour.
    >
    > Can i make a macro that will calculate this automatically.
    >
    > part 2:
    >
    > Is it possible to make excel not show the results unless the work times have
    > been inserted into cells b3 and c3.
    >
    > Thanks in advance
    >
    > Greg


  3. #3
    JE McGimpsey
    Guest

    Re: Roster

    Hit send by mistake...


    =IF(COUNT(B3,C3)<2,"",B3+C3-TIME(0,30,0)*(((B3+C3)>5/24)+((B3+C3)>1/3)))


    In article <jemcgimpsey-29692D.19451208022005@msnews.microsoft.com>,
    JE McGimpsey <jemcgimpsey@mvps.org> wrote:

    > Not sure why you need a macro. A worksheet function works fine:
    >
    >
    > =IF(COUNT(B3,C3)<2,"",B3+C3-TIME(0,30,0)*((B3+C3)>5/24)


  4. #4
    RagDyer
    Guest

    Re: Roster

    <"Hit send by mistake...">
    Did you mean that literally John?
    Do you have something on your keyboard that is "hittable?", that can
    initiate a "send"?
    --


    Regards,

    RD
    --------------------------------------------------------------------
    Please keep all correspondence within the Group, so all may benefit!
    -------------------------------------------------------------------

    "JE McGimpsey" <jemcgimpsey@mvps.org> wrote in message
    news:jemcgimpsey-D84C78.19525608022005@msnews.microsoft.com...
    Hit send by mistake...


    =IF(COUNT(B3,C3)<2,"",B3+C3-TIME(0,30,0)*(((B3+C3)>5/24)+((B3+C3)>1/3)))


    In article <jemcgimpsey-29692D.19451208022005@msnews.microsoft.com>,
    JE McGimpsey <jemcgimpsey@mvps.org> wrote:

    > Not sure why you need a macro. A worksheet function works fine:
    >
    >
    > =IF(COUNT(B3,C3)<2,"",B3+C3-TIME(0,30,0)*((B3+C3)>5/24)



  5. #5
    JE McGimpsey
    Guest

    Re: Roster

    Of course.

    In article <OwIsDklDFHA.2600@TK2MSFTNGP09.phx.gbl>,
    "RagDyer" <ragdyer@cutoutmsn.com> wrote:

    > Do you have something on your keyboard that is "hittable?", that can
    > initiate a "send"?


  6. #6
    Don Guillett
    Guest

    Re: Roster

    I have one too

    --
    Don Guillett
    SalesAid Software
    donaldb@281.com
    "RagDyer" <ragdyer@cutoutmsn.com> wrote in message
    news:OwIsDklDFHA.2600@TK2MSFTNGP09.phx.gbl...
    > <"Hit send by mistake...">
    > Did you mean that literally John?
    > Do you have something on your keyboard that is "hittable?", that can
    > initiate a "send"?
    > --
    >
    >
    > Regards,
    >
    > RD
    > --------------------------------------------------------------------
    > Please keep all correspondence within the Group, so all may benefit!
    > -------------------------------------------------------------------
    >
    > "JE McGimpsey" <jemcgimpsey@mvps.org> wrote in message
    > news:jemcgimpsey-D84C78.19525608022005@msnews.microsoft.com...
    > Hit send by mistake...
    >
    >
    > =IF(COUNT(B3,C3)<2,"",B3+C3-TIME(0,30,0)*(((B3+C3)>5/24)+((B3+C3)>1/3)))
    >
    >
    > In article <jemcgimpsey-29692D.19451208022005@msnews.microsoft.com>,
    > JE McGimpsey <jemcgimpsey@mvps.org> wrote:
    >
    > > Not sure why you need a macro. A worksheet function works fine:
    > >
    > >
    > > =IF(COUNT(B3,C3)<2,"",B3+C3-TIME(0,30,0)*((B3+C3)>5/24)

    >




  7. #7
    JE McGimpsey
    Guest

    Re: Roster

    In article <eQ2akFuDFHA.464@TK2MSFTNGP15.phx.gbl>,
    "Don Guillett" <donaldb@281.com> wrote:

    > I have one too


    Doesn't everyone?

  8. #8
    George Gee
    Guest

    Re: Roster

    I sold mine!

    *JE McGimpsey* has posted this message:

    > In article <eQ2akFuDFHA.464@TK2MSFTNGP15.phx.gbl>,
    > "Don Guillett" <donaldb@281.com> wrote:
    >
    >> I have one too

    >
    > Doesn't everyone?




  9. #9
    Ragdyer
    Guest

    Re: Roster

    Besides taking the bait, you want me to also swallow the hook?<g>
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "JE McGimpsey" <jemcgimpsey@mvps.org> wrote in message
    news:jemcgimpsey-F9FD07.14052009022005@msnews.microsoft.com...
    > In article <eQ2akFuDFHA.464@TK2MSFTNGP15.phx.gbl>,
    > "Don Guillett" <donaldb@281.com> wrote:
    >
    > > I have one too

    >
    > Doesn't everyone?



  10. #10
    JE McGimpsey
    Guest

    Re: Roster

    In article <OoBO6eyDFHA.624@TK2MSFTNGP15.phx.gbl>,
    "Ragdyer" <RagDyer@cutoutmsn.com> wrote:

    > Besides taking the bait, you want me to also swallow the hook?<g>


    Well, I do live in the middle of some of the best fly-fishing area in
    the country...

+ 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