Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Automatic timesheets

What I am looking to do is,

I have a roster where I have automatically works the hours out but the
problem I have is if the person works more than 5 hours they take a half an
hour break and if they work more than 8 hours they are entitled to a 1 hour
break.

How can I get this to happen automatically

Thanks in advance

Greg


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Automatic timesheets

=if(hours < 5,0,if(hours<8,.5,1))

hours is a cell that holds hours worked as decimal numbers (rather than
excel time values)

would be a generalized approach.

--
Regards,
Tom Ogilvy

"Greg Brow" wrote in message
...
What I am looking to do is,

I have a roster where I have automatically works the hours out but the
problem I have is if the person works more than 5 hours they take a half

an
hour break and if they work more than 8 hours they are entitled to a 1

hour
break.

How can I get this to happen automatically

Thanks in advance

Greg




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Automatic timesheets

Thanks for the help sorry for the delay in replying

Greg
"Tom Ogilvy" wrote in message
...
=if(hours < 5,0,if(hours<8,.5,1))

hours is a cell that holds hours worked as decimal numbers (rather than
excel time values)

would be a generalized approach.

--
Regards,
Tom Ogilvy

"Greg Brow" wrote in message
...
What I am looking to do is,

I have a roster where I have automatically works the hours out but the
problem I have is if the person works more than 5 hours they take a half

an
hour break and if they work more than 8 hours they are entitled to a 1

hour
break.

How can I get this to happen automatically

Thanks in advance

Greg






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Timesheets amber s Excel Worksheet Functions 2 March 18th 09 06:05 PM
Timesheets SilviaG Excel Worksheet Functions 1 April 1st 08 11:04 PM
Timesheets PCERM Excel Discussion (Misc queries) 5 January 29th 08 11:21 AM
Timesheets [email protected] Excel Discussion (Misc queries) 3 March 11th 07 06:42 AM
Timesheets maperalia Excel Discussion (Misc queries) 1 October 9th 05 01:16 PM


All times are GMT +1. The time now is 08:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"