Calculations

D

Deb

I have a report that lists Total Hours Worked, Less
Standard Hours. OverTime and an Overtime %.
Standard hours will always be 40.
If a normal work week = 40 hours but a person only puts in
32, how do I create a calculation in a text box to say the
following:
If total hours worked is less than 40 then OverTime = 0
Else if Total hours worked is more than 40 then take total
hours worked -40 (for O.T.) /40 to get the overtime %?
Is this possible?
 
G

Guest

An ideal IIF application:
[OvertimePercent]=IIF([TotalHours]<40,0,([TotalHours]-
[StandartHours])/40)
Hope this helps.\Fons
 
D

Deb

Thank you - I'll give that a try!
-----Original Message-----
An ideal IIF application:
[OvertimePercent]=IIF([TotalHours]<40,0,([TotalHours]-
[StandartHours])/40)
Hope this helps.\Fons
-----Original Message-----
I have a report that lists Total Hours Worked, Less
Standard Hours. OverTime and an Overtime %.
Standard hours will always be 40.
If a normal work week = 40 hours but a person only puts in
32, how do I create a calculation in a text box to say the
following:
If total hours worked is less than 40 then OverTime = 0
Else if Total hours worked is more than 40 then take total
hours worked -40 (for O.T.) /40 to get the overtime %?
Is this possible?
.
.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top