Hi All,
I never use access but have to create a field in a table with a formula in it. The formula works fine in excel. Does anybody know how to change it to access?
The Excel formula is:
=IF(A3>=400,"Honour",IF((A3>=300)*AND(A3<400),"Merit",IF((A3>=250)*AND(A3<300),"Pass",IF(A3<250,"Fail"))))
I know it should be something like this:
IIf([Score Total]>=400,"Honour",
iIF(([Score Total]>=300*AND<400,"Merit",
iIF(([Score Total]>=250*AND<300,"Pass",
iIF([Score Total]<250,"Fail"
))))
but it is not excepting it. Can anyone find the errors of my ways?
Thanks in advance Caben
I never use access but have to create a field in a table with a formula in it. The formula works fine in excel. Does anybody know how to change it to access?
The Excel formula is:
=IF(A3>=400,"Honour",IF((A3>=300)*AND(A3<400),"Merit",IF((A3>=250)*AND(A3<300),"Pass",IF(A3<250,"Fail"))))
I know it should be something like this:
IIf([Score Total]>=400,"Honour",
iIF(([Score Total]>=300*AND<400,"Merit",
iIF(([Score Total]>=250*AND<300,"Pass",
iIF([Score Total]<250,"Fail"
))))
but it is not excepting it. Can anyone find the errors of my ways?

Thanks in advance Caben