#1   Report Post  
Greg Brow
 
Posts: n/a
Default 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   Report Post  
JE McGimpsey
 
Posts: n/a
Default

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 ,
"Greg Brow" 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   Report Post  
JE McGimpsey
 
Posts: n/a
Default

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 ,
JE McGimpsey 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   Report Post  
RagDyer
 
Posts: n/a
Default

<"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" wrote in message
...
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 ,
JE McGimpsey 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   Report Post  
JE McGimpsey
 
Posts: n/a
Default

Of course.

In article ,
"RagDyer" wrote:

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



  #7   Report Post  
JE McGimpsey
 
Posts: n/a
Default

In article ,
"Don Guillett" wrote:

I have one too


Doesn't everyone?
  #8   Report Post  
George Gee
 
Posts: n/a
Default

I sold mine!

*JE McGimpsey* has posted this message:

In article ,
"Don Guillett" wrote:

I have one too


Doesn't everyone?



  #9   Report Post  
Ragdyer
 
Posts: n/a
Default

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" wrote in message
...
In article ,
"Don Guillett" wrote:

I have one too


Doesn't everyone?


  #10   Report Post  
JE McGimpsey
 
Posts: n/a
Default

In article ,
"Ragdyer" 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
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
Need help with conditional rates and roster times for payroll Ricky Excel Discussion (Misc queries) 1 December 9th 04 04:23 PM
work roster with variable inputs foxwave Excel Discussion (Misc queries) 0 December 3rd 04 07:39 PM


All times are GMT +1. The time now is 10:15 PM.

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

About Us

"It's about Microsoft Excel"