LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Ricky
 
Posts: n/a
Default Need help with conditional rates and roster times for payroll

Hi everyone,
I'm trying to to create a payroll using rosters but I am having trouble
trying to define different rates with certain times
For example, if a person works from 19:00 - 0:00 they will get $1 extra and
if they work between 0:00 and 7:00 they will get $2 extra.
So if they're rostered for 18:00 - 8:00 they should effectively get $5 + $14
= $19 extra
The problem i am having is that i cant seem to calculate the hours properly.
It has been suggested i should if statements like =IF(A1 * 24 7, IF(A1 *
24 19, "1", "0"), "2") or using lookup tables but they only calculate the
rate you get for a certain hour and using only 1 cell reference.

I think the easiest way is to calculate the number of hours that will get
you extra pay from the start and finish time as long as it is between those
specified hours. because after you work that out all you have to do is
multiply that with the extra money and then sum it up. If anyone has any
ideas on how i could achieve this it would be greatly appreciated. Thanks!


 
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



All times are GMT +1. The time now is 06:12 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"