Jump to content

This topic is 7111 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

this has probably been asked in the past but I have not been aboe to find the answer in Archives.

How can I write a calculation that will automatically factor for overtime pay without having to have a second field for hours over 40?

In other words if Pay_Hours > 40, 40hrs at "X" rate, remaining hours, "X" rate X 1.50.

Thanks for any help you all can give.

Steve

Posted

Hi Steve,

Of course it isn't as simple as this. This doesn't account for weekends or holiday pay (double-time etc). It really is better to use another table because it adds to your flexibility. But, assuming you have an Hours field and a Rate field, here is one way:

Let ( [

base = 40 ;

OT = Hours - base ] ;

If ( Hours > base ; base * Rate + OT * ( Rate + Rate / 2 ) ; Hours * Rate )

)

LaRetta

This topic is 7111 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.