andrewb90
Well-known Member
- Joined
- Dec 16, 2009
- Messages
- 1,077
Hello All,
I put together this formula that is supposed to be calculating overtime and it works if the hours exceed 40 but not less than 40. Can anybody assist me with this?
S column is hours worked
T column is regular pay rate
U column is overtime pay rate
I put together this formula that is supposed to be calculating overtime and it works if the hours exceed 40 but not less than 40. Can anybody assist me with this?
Code:
=(IF(S91>40,40*T91,S91*T91))+(IF(S91>40,((S91-40)*U91),""))
S column is hours worked
T column is regular pay rate
U column is overtime pay rate