View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
KLKNOX KLKNOX is offline
external usenet poster
 
Posts: 1
Default Excel formulas in Access

I have created a formula in Excel to allow for testing. I want to convert
that to a formula in access but some of the syntax is wrong. Can someone
please help. I have highlighted some of my concerns. Here is the statement:



IF(OR([M_WK_1]=0,SUM([P_WK_1]:[P_WK_4])=0),"",IF((AND([M_WK_1][P_WK_1],(([M_WK_1]-[P_WK_1])/[P_WK_1])<0.05)),1,IF((AND(([M_WK_1]+[M_WK_2])([P_WK_1]+[P_WK_2]),(([M_WK_1]+[M_WK_2])-([P_WK_1]+[P_WK_2])/([P_WK_1]+[P_WK_2]))<0.05)),1,IF((AND(([M_WK_1]+[M_WK_2]+[M_WK_3])([P_WK_1]+[P_WK_2]+[P_WK_3]),(([M_WK_1]+[M_WK_2]+[M_WK_3])-([P_WK_1]+[P_WK_2]+[P_WK_3])/([P_WK_1]+[P_WK_2]+[P_WK_3]))<0.05)),1,IF((AND(([M_WK_1]+[M_WK_2]+[M_WK_3]+[M_WK_4])([P_WK_1]+[P_WK_2]+[P_WK_3]+[P_WK_4]),(([M_WK_1]+[M_WK_2]+[M_WK_3]+[M_WK_4])-([P_WK_1]+[P_WK_2]+[P_WK_3]+[P_WK_4])/([P_WK_1]+[P_WK_2]+[P_WK_3]+[P_WK_4]))<0.05)),1,0)))))