Thread: Formula Help
View Single Post
 
Old 12-26-2013, 06:46 PM
clo312 clo312 is offline Windows 7 64bit Office 2013
Novice
 
Join Date: Dec 2013
Posts: 7
clo312 is on a distinguished road
Default Formula Help

Hi I was hoping someone could help me with my formula I have, I am basically tring to make a worksheet that calculates pay based on the inputed number of hours. I can make the formula work for either straight time hours or overtime hours depending on what i do to try to make the formula work the right way. I have rivised and revised this formula to try and solve this and not getting no luck. for example if i work 48 hours that would be 8 hours overtime i can make the formula calculate that right then if i work 32 hours it either dont calculate it right or it dont calculate at all. or with changes I made I can get it to calculate all straight time hours and not the overtime. Any help is appreciated

This is the current Formula

=IF(AND(D5>40,D5<=(D5-40)*D3*1.5+D3*40),D5*D3)

D5=Hours worked
D3=hourly wage
D8=where the function goes
Reply With Quote