PC Review


Reply
Thread Tools Rate Thread

how to determine duration of meal break in timesheet (working with times)

 
 
Max
Guest
Posts: n/a
 
      7th Sep 2011
In a timesheet if a person works for fewer than five hours there is no
meal break.
Five hours or more the break is 30 minutes.
Six hours or more and the break is 45 minutes.

In this timesheet the times are entered in [h]:mm.
 
Reply With Quote
 
 
 
 
Don Guillett
Guest
Posts: n/a
 
      7th Sep 2011
On Sep 7, 6:02*am, Max <d.e.lindst...@gmail.com> wrote:
> In a timesheet if a person works for fewer than five hours there is no
> meal break.
> Five hours or more the break is 30 minutes.
> Six hours or more and the break is 45 minutes.
>
> In this timesheet the times are entered in [h]:mm.



http://www.cpearson.com/excel/overtime.htm
 
Reply With Quote
 
joeu2004
Guest
Posts: n/a
 
      7th Sep 2011
"Max" <(E-Mail Removed)> wrote:
> In a timesheet if a person works for fewer than five
> hours there is no meal break.
> Five hours or more the break is 30 minutes.
> Six hours or more and the break is 45 minutes.
> In this timesheet the times are entered in [h]:mm.


In the cell representing the meal time:

=if(A1<time(5,0,0),0,if(A1<time(6,0,0),time(0,30,0),time(0,45,0)))

where A1 is the time that person works.
 
Reply With Quote
 
Max
Guest
Posts: n/a
 
      8th Sep 2011
On Sep 8, 2:35*am, "joeu2004" <joeu2...@foo.bar> wrote:
> "Max" <d.e.lindst...@gmail.com> wrote:
> > In a timesheet if a person works for fewer than five
> > hours there is no meal break.
> > Five hours or more the break is 30 minutes.
> > Six hours or more and the break is 45 minutes.
> > In this timesheet the times are entered in [h]:mm.

>
> In the cell representing the meal time:
>
> =if(A1<time(5,0,0),0,if(A1<time(6,0,0),time(0,30,0),time(0,45,0)))
>
> where A1 is the time that person works.


That's brilliant! Thank you.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Timesheet, meal rates within variables of time Ben Microsoft Excel Misc 7 21st Nov 2010 07:50 AM
Meal Break on Time Sheet in Excel =?Utf-8?B?R2luZ2Vy?= Microsoft Excel Worksheet Functions 4 19th Jan 2006 12:48 AM
how do I set up excel sheet for meal break down cost,labor,meat =?Utf-8?B?cG9ja2V0?= Microsoft Excel Worksheet Functions 1 3rd Oct 2005 01:31 PM
How to subtract a lunch break from total hrs worked in timesheet =?Utf-8?B?Wm9lTWFyc2hhbGw=?= Microsoft Excel Programming 2 28th Oct 2004 03:46 PM
qry to determine duration of meeting Nyd Microsoft Access Queries 1 16th Jan 2004 08:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:47 PM.