jclem1
asked on
Excel formulas to access queries
IN the attached excel file columns J, K, and L are calculated, so far you all have helped me with column J and now I am struggling to finish the FRT Met or Overdue column, the excel formula is this =IF(OR(LEFT(M5,2)="CN",LEF T(M5,2)="K N"),"Met", IF(I5<=J5, "Met","Ove rdue")) and what I have come up with so far in access is this :
FRT Met or Overdue:
IIf(Left([WHY_MISS],2)="CN " Or
Left([WHY_MISS],2)="KN","M et",IIF([D UE_CMPLN_D ATE]<=IIf( [DATE_ESCA LATED]<=[D ESIRED_DD] ,[DESIRED_ DD],IIf([D ATE_ESCALA T
ED]>[DUE_SCHED_DATE],DateA dd("d",3,[ DATE_ESCAL ATED]),[DU E_SCHED_DA TE])),"Met ","Overdue ")) the problem may be parenthesis related but I can't seem to decipher it maybe I have been looking too long.
Lastly I will need to write something in my access query for when (column "K" which is FRT Met or Overdue) scores "overdue" I would like the month only from column I which is due_cmpln_date to populate.
Thanks
snipet.xls
FRT Met or Overdue:
IIf(Left([WHY_MISS],2)="CN
Left([WHY_MISS],2)="KN","M
ED]>[DUE_SCHED_DATE],DateA
Lastly I will need to write something in my access query for when (column "K" which is FRT Met or Overdue) scores "overdue" I would like the month only from column I which is due_cmpln_date to populate.
Thanks
snipet.xls
ASKER
If you open the snipet file what I need is the formulas in columns K and L coded into an access query. The headers are FRT Met or Overdue and Overdue Closed in Month, you will notice overdue closed in month has no formula as currently it is a manual field but I would like it to populate with the "Month" value in column "I" only when column "K" scores overdue.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
giving an example cell format would be helpful along with providing the formats and the files as you did.
waiting for your reply