I have daily hours on different equipment, I seperate them by Equipment name. I sum the hours of each =Sum([Totall Hours]). Depending on the amount of hours used I want to apply the following formula:
=Sum(IIf([Total Hours]<=26.4,[Total Hours]*[Daily]/8,IIf([Total Hours]<=40,[Daily]*4,IIf([Total Hours]<=119,[Total Hours]*[Weekly]/40,IIf([Total Hours]<=176,[Monthly],IIf([Total Hours]>=177,[Total Hours]*[Monthly]/176))))))
This formula works for daily, but not for =Sum([Total Hours])
No Luck
=Sum(IIf([Total Hours]<=26.4,[Total Hours]*[Daily]/8,IIf([Total Hours]<=40,[Daily]*4,IIf([Total Hours]<=119,[Total Hours]*[Weekly]/40,IIf([Total Hours]<=176,[Monthly],IIf([Total Hours]>=177,[Total Hours]*[Monthly]/176))))))
This formula works for daily, but not for =Sum([Total Hours])
No Luck