Below is the expressions broken down into 1 column each.
CABIHours: IIf([work hours]![work code]=60,[hours])
CABIOTHours: [CABIHours]-8
TotalCABIRate: IIf([CABIHours]>8,(500+([CABIHours]-8)*93.75),[CABIHours]*62.5)
ProjectManagerHours: IIf([work hours]![work code]=14,[hours])
ProjectManagerOTHours: [ProjectManagerHours]-8
TotalProjectManagerRate: IIf([ProjectManagerHours]>8,(576+([ProjectManagerHours]-8)*95),[ProjectManagerHours]*72)
AMSHours: IIf([work hours]![work code]=62,[hours])
AMSOTHours: [AMSHours]-8
TotalAMSRate: IIf([AMSHours]>8,(576+([AMSHours]-8)*95),[AMSHours]*72)
I need these expressions to be on one line. Below is what I thought the correct expression would be.
TotalRateAllPositions: (IIf([work hours]![work code]=60,[hours]),IIf([CABIHours]-8), IIf([CABIHours]>8,(500+([CABIHours]-8)*93.75),[CABIHours]*62.5), IIf([work hours]![work code]=14,[hours]),Iff([ProjectManagerHours]-8), IIf([ProjectManagerHours]>8,(576+([ProjectManagerHours]-8)*95),[ProjectManagerHours]*72), IIf([work hours]![work code]=62,[hours]),(IIF[AMSHours]-8), IIf([AMSHours]>8,(576+([AMSHours]-8)*95),[AMSHours]*72)))))))))
I need this expression to calculate the normal hours for the CABI position, then calculate the overtime hours, then the rates for normal time and overtime. The same goes for the ProjectManager and AMS positions. Any ideas? Your help would be greatly appreciated.
Thanks,
Holly
CABIHours: IIf([work hours]![work code]=60,[hours])
CABIOTHours: [CABIHours]-8
TotalCABIRate: IIf([CABIHours]>8,(500+([CABIHours]-8)*93.75),[CABIHours]*62.5)
ProjectManagerHours: IIf([work hours]![work code]=14,[hours])
ProjectManagerOTHours: [ProjectManagerHours]-8
TotalProjectManagerRate: IIf([ProjectManagerHours]>8,(576+([ProjectManagerHours]-8)*95),[ProjectManagerHours]*72)
AMSHours: IIf([work hours]![work code]=62,[hours])
AMSOTHours: [AMSHours]-8
TotalAMSRate: IIf([AMSHours]>8,(576+([AMSHours]-8)*95),[AMSHours]*72)
I need these expressions to be on one line. Below is what I thought the correct expression would be.
TotalRateAllPositions: (IIf([work hours]![work code]=60,[hours]),IIf([CABIHours]-8), IIf([CABIHours]>8,(500+([CABIHours]-8)*93.75),[CABIHours]*62.5), IIf([work hours]![work code]=14,[hours]),Iff([ProjectManagerHours]-8), IIf([ProjectManagerHours]>8,(576+([ProjectManagerHours]-8)*95),[ProjectManagerHours]*72), IIf([work hours]![work code]=62,[hours]),(IIF[AMSHours]-8), IIf([AMSHours]>8,(576+([AMSHours]-8)*95),[AMSHours]*72)))))))))
I need this expression to calculate the normal hours for the CABI position, then calculate the overtime hours, then the rates for normal time and overtime. The same goes for the ProjectManager and AMS positions. Any ideas? Your help would be greatly appreciated.
Thanks,
Holly