Hi I am trying to use a formula that I am using in excel and cannot seem to translate it to access.
The excel formula is
=IF(A1<=20,10.45,IF(AND(A1>20,A1<=30),((A1-20)*0.35+10.45),(A1-30)*1+(10*0.35)+10.45))*1.255
Thank you Mr Excel for your help on that
I am trying to use it like this
Cost: IIf([CourierWeight]<=20,10.45,If(and([CourierWeight]>20,[CourierWeight]<=30),(([CourierWeight]-20)*0.35+10.45),([CourierWeight]-30)*1+(10.0.35)+10.45))*1.255
it wont let me use it as "if(and(" is incorrect.
What I am trying to work out is some shipping costs on weight
Example: Total package weight is 52.5kg
Pricing as follows
0-20kg = £10.45
20-30kg @ 0.35 per kg
40kg plus and additional £1 per kg
Thanks in advance
The excel formula is
=IF(A1<=20,10.45,IF(AND(A1>20,A1<=30),((A1-20)*0.35+10.45),(A1-30)*1+(10*0.35)+10.45))*1.255
Thank you Mr Excel for your help on that
I am trying to use it like this
Cost: IIf([CourierWeight]<=20,10.45,If(and([CourierWeight]>20,[CourierWeight]<=30),(([CourierWeight]-20)*0.35+10.45),([CourierWeight]-30)*1+(10.0.35)+10.45))*1.255
it wont let me use it as "if(and(" is incorrect.
What I am trying to work out is some shipping costs on weight
Example: Total package weight is 52.5kg
Pricing as follows
0-20kg = £10.45
20-30kg @ 0.35 per kg
40kg plus and additional £1 per kg
Thanks in advance