NAME1=IF(mod(L1,2.0)==0.0,"prt0001.prt","prt0002.prt") NAME2=IF(mod(L2,2.0)==0.0,"prt0001.prt","prt0002.prt") NAME3=IF(mod(L3,2.0)==0.0,"prt0001.prt","prt0002.prt") INST1=LOOKUP_INST(NAME1,-1,"d1",L1) INST2=LOOKUP_INST(NAME2,-1,"d1",L2) INST3=LOOKUP_INST(NAME3,-1,"d1",L3)