C
csandbrook
I am trying to run the below query to simply find data in a column that is a
certain criteria, then taking data in another column and multiplying it and
it is not returning the correct amounts based on the below. Can someone help
me to write this correctly. Thank you.
Adjusted DR Payout: IIf([Rep % of Average]<80,[REP DR PAYOUT]*0.8,IIf([Rep %
of Average]<90.01 And [Rep % of Average]>79.99,[REP DR PAYOUT]*0.9,IIf([Rep %
of Average]<105.01 And [Rep % of Average]>90.01,[REP DR PAYOUT]*1,IIf([Rep %
of Average]<115.01 And [Rep % of Average]>105.01,[REP DR PAYOUT]*1.1,IIf([Rep
% of Average]>115.01,[REP DR PAYOUT]*1.2,0)))))
certain criteria, then taking data in another column and multiplying it and
it is not returning the correct amounts based on the below. Can someone help
me to write this correctly. Thank you.
Adjusted DR Payout: IIf([Rep % of Average]<80,[REP DR PAYOUT]*0.8,IIf([Rep %
of Average]<90.01 And [Rep % of Average]>79.99,[REP DR PAYOUT]*0.9,IIf([Rep %
of Average]<105.01 And [Rep % of Average]>90.01,[REP DR PAYOUT]*1,IIf([Rep %
of Average]<115.01 And [Rep % of Average]>105.01,[REP DR PAYOUT]*1.1,IIf([Rep
% of Average]>115.01,[REP DR PAYOUT]*1.2,0)))))