+ Reply to Thread
Results 1 to 8 of 8

Timesheet maximum hours problem

  1. #1
    Good Time
    Guest

    Timesheet maximum hours problem

    I have created a time sheet for biweekly payroll, but I have one
    problem.

    Cell: I12 is the total for one week

    Cell: D24 is the above total copied

    Cell:D26 is regular hours worked - and this is where I have the
    problem.

    I want this cell to copy the value from D24 or input 44:00 hours,
    which ever is less, in time format.

    Can you help

    Thank you

  2. #2
    Bob Phillips
    Guest

    Re: Timesheet maximum hours problem

    =Min(D24,time(44,0,0))

    and format as time

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Good Time" <[email protected]> wrote in message
    news:[email protected]...
    > I have created a time sheet for biweekly payroll, but I have one
    > problem.
    >
    > Cell: I12 is the total for one week
    >
    > Cell: D24 is the above total copied
    >
    > Cell:D26 is regular hours worked - and this is where I have the
    > problem.
    >
    > I want this cell to copy the value from D24 or input 44:00 hours,
    > which ever is less, in time format.
    >
    > Can you help
    >
    > Thank you




  3. #3
    Biff
    Guest

    Re: Timesheet maximum hours problem

    Hi!

    Try this:

    =MIN(D24,44/24)

    Format the cell as [h]:mm.

    Biff

    "Good Time" <[email protected]> wrote in message
    news:[email protected]...
    >I have created a time sheet for biweekly payroll, but I have one
    > problem.
    >
    > Cell: I12 is the total for one week
    >
    > Cell: D24 is the above total copied
    >
    > Cell:D26 is regular hours worked - and this is where I have the
    > problem.
    >
    > I want this cell to copy the value from D24 or input 44:00 hours,
    > which ever is less, in time format.
    >
    > Can you help
    >
    > Thank you




  4. #4
    Good Time
    Guest

    Re: Timesheet maximum hours problem

    Thanks for your help but this formula always returns the value 44:00.

    The problem is if cell D24 is less than 44:00 hours, let say 22:00
    than cell D26 should reflect 22:00.

    If cell D24 is greater than 44:00 than cell D26 should reflect the
    maximum of 44:00 which your formula does.

    Can you help?
    >Hi!
    >
    >Try this:
    >
    >=MIN(D24,44/24)
    >
    >Format the cell as [h]:mm.
    >
    >Biff
    >
    >"Good Time" <[email protected]> wrote in message
    >news:[email protected]...
    >>I have created a time sheet for biweekly payroll, but I have one
    >> problem.
    >>
    >> Cell: I12 is the total for one week
    >>
    >> Cell: D24 is the above total copied
    >>
    >> Cell:D26 is regular hours worked - and this is where I have the
    >> problem.
    >>
    >> I want this cell to copy the value from D24 or input 44:00 hours,
    >> which ever is less, in time format.
    >>
    >> Can you help
    >>
    >> Thank you

    >


  5. #5
    Good Time
    Guest

    Re: Timesheet maximum hours problem

    Thanks for your response but this formla seems to return
    a fixed value of 22:00. Am I doing something wrong?

    >=Min(D24,time(44,0,0))
    >
    >and format as time


  6. #6
    Peo Sjoblom
    Guest

    Re: Timesheet maximum hours problem

    No it's not always returning 44, so the only other option is that the 22:00
    is either text or not 22:00


    --

    Regards,

    Peo Sjoblom

    "Good Time" <[email protected]> wrote in message
    news:[email protected]...
    > Thanks for your help but this formula always returns the value 44:00.
    >
    > The problem is if cell D24 is less than 44:00 hours, let say 22:00
    > than cell D26 should reflect 22:00.
    >
    > If cell D24 is greater than 44:00 than cell D26 should reflect the
    > maximum of 44:00 which your formula does.
    >
    > Can you help?
    > >Hi!
    > >
    > >Try this:
    > >
    > >=MIN(D24,44/24)
    > >
    > >Format the cell as [h]:mm.
    > >
    > >Biff
    > >
    > >"Good Time" <[email protected]> wrote in message
    > >news:[email protected]...
    > >>I have created a time sheet for biweekly payroll, but I have one
    > >> problem.
    > >>
    > >> Cell: I12 is the total for one week
    > >>
    > >> Cell: D24 is the above total copied
    > >>
    > >> Cell:D26 is regular hours worked - and this is where I have the
    > >> problem.
    > >>
    > >> I want this cell to copy the value from D24 or input 44:00 hours,
    > >> which ever is less, in time format.
    > >>
    > >> Can you help
    > >>
    > >> Thank you

    > >




  7. #7
    Bob Phillips
    Guest

    Re: Timesheet maximum hours problem

    See Peo's response.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Good Time" <[email protected]> wrote in message
    news:[email protected]...
    > Thanks for your response but this formla seems to return
    > a fixed value of 22:00. Am I doing something wrong?
    >
    > >=Min(D24,time(44,0,0))
    > >
    > >and format as time




  8. #8
    Good Time
    Guest

    Re: Timesheet maximum hours problem

    That was the problem, one of my cells had text in it.

    Thanks so much for your help.

    >No it's not always returning 44, so the only other option is that the 22:00
    >is either text or not 22:00


+ 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