The above screenshot is from a time report that I would like some help with.
The Total column calculates all the columns in the row, the final column calculates the Total PAYE.
The Total PAYE formula is as follows:
=([Travel To Site]@row - 0.75) * 1 + [Std Hrs]@row * 1 + 1.5 * [OOH (1.5x)]@row + 2 * [OOH (2x)]@row + ([Travel From Site]@row - 0.75) * 1
I would like the Total PAYE to include a calculation in the formula as follows:
a) Std Hrs x1 + OOH x1.5 + OOH x2, and
b) subtract the first 45 minutes of [Travel To Site] and [Travel From Site], and
c) ignore blanks (no travel time), and
d) add any additional overtime hours (more than .75) spent travelling to the calculation in a).
If the travel time is less than .75, I also need the formula to treat this as .75. So if they travel for .25 or .50, this would calculate as part of the initial .75 of travel time.