I have a formula:
TPUnit=(Units/SumofUnits)*10
The point of the formula is that truck pay can not exceed 10 hours per day even if the labor does. The problem is rounding. It need to round the TPUnit total to a factor of 0 decimals, but in the case where the employee worked 11 hours, it is giving me (2.73) 3, (2.73) 3, & (4.55)5 TP units for the jobs. How do I round to get the 10 hours only.
Thanks, Bailey 11
TPUnit=(Units/SumofUnits)*10
The point of the formula is that truck pay can not exceed 10 hours per day even if the labor does. The problem is rounding. It need to round the TPUnit total to a factor of 0 decimals, but in the case where the employee worked 11 hours, it is giving me (2.73) 3, (2.73) 3, & (4.55)5 TP units for the jobs. How do I round to get the 10 hours only.
Thanks, Bailey 11