rameshkumarsharma
New Member
Hi
Please help me to make a formula following the below conditions.
[pre]
[/pre]
Currently i am using very big formula. could you please suggest if we can have a short formula instead of below big formula.
=IF(Q3<>"",IF(Y3="Germany",IF(AJ3="L",IF(NETWORKDAYS(R3,Q3,$BF$3)<=1,IF(MOD(Q3,1)<=TIME(17,0,59),"Within SLA",IF(MOD(R3,1)>=TIME(16,44,59),"Within SLA","Outside SLA")),IF(NETWORKDAYS(R3,Q3,$BE$3)=2,IF(AND(MOD(R3,1)>TIME(16,44,59),MOD(Q3,1)<=TIME(17,0,59)),"Within SLA","Outside SLA"),"Outside SLA")),IF(OR(AJ3="C",AJ3="LC",AJ3="CL",AJ3="",AJ3=0,AJ3="O"),IF(NETWORKDAYS(R3,Q3,$BE$3)<=1,IF(MOD(Q3,1)<=TIME(17,59,59),"Within SLA",IF(MOD(R3,1)>=TIME(17,44,59),"Within SLA","Outside SLA")),IF(NETWORKDAYS(R3,Q3,$BE$3)=2,IF(AND(MOD(R3,1)>=TIME(17,29,59),MOD(Q3,1)<=TIME(17,45,59)),"Within SLA","Outside SLA"),"Outside SLA")))),IF(Y3="Switzerland",IF(AJ3="L",IF(NETWORKDAYS(R3,Q3,$BE$3:$BF$3)<=1,IF(MOD(Q3,1)<=TIME(16,45,59),"Within SLA",IF(MOD(R3,1)>=TIME(16,29,59),"Within SLA","Outside SLA")),IF(NETWORKDAYS(R3,Q3,$BE$3:$BF$3)=2,IF(AND(MOD(R3,1)>=TIME(16,29,59),MOD(Q3,1)<=TIME(16,45,59)),"Within SLA","Outside SLA"),"Outside SLA")),IF(OR(AJ3="C",AJ3="LC",AJ3="CL",AJ3="",AJ3=0,AJ3="O"),IF(NETWORKDAYS(R3,Q3,$BE$3:$BF$3)<=1,IF(MOD(Q3,1)<=TIME(16,45,59),"Within SLA",IF(MOD(R3,1)>=TIME(16,29,59),"Within SLA","Outside SLA")),IF(NETWORKDAYS(R3,Q3,$BE$3:$BF$3)=2,IF(AND(MOD(R3,1)>=TIME(16,29,59),MOD(Q3,1)<=TIME(16,45,59)),"Within SLA","Outside SLA"),"Outside SLA")),IF(Y3="Austria",IF(NETWORKDAYS(R3,Q3,$BE$3:$BF$3)<=1,IF(MOD(Q3,1)<=TIME(16,30,59),"Within SLA",IF(MOD(R3,1)>=TIME(15,59,59),"Within SLA","Outside SLA")),IF(NETWORKDAYS(R3,Q3,$BE$3:$BF$3)=2,IF(AND(MOD(R3,1)>=TIME(15,59,59),MOD(Q3,1)<=TIME(16,30,59)),"Within SLA","Outside SLA"),"Outside SLA")),"N/A"))))),"On Hold")
Regards,
Ramesh
Please help me to make a formula following the below conditions.
[pre]
Code:
Wave 2 Country Receiving Cut off (CET) Processing Cut off (CET)
L Germany 4:45:00 PM 5:00:00 PM
C Germany 5:45:00 PM 6:00:00 PM
L Austria 4:00:00 PM 4:30:00 PM
C Austria 4:00:00 PM 4:30:00 PM
L Switzerland 4:30:00 PM 4:45:00 PM
C Switzerland 4:30:00 PM 4:45:00 PM
Currently i am using very big formula. could you please suggest if we can have a short formula instead of below big formula.
=IF(Q3<>"",IF(Y3="Germany",IF(AJ3="L",IF(NETWORKDAYS(R3,Q3,$BF$3)<=1,IF(MOD(Q3,1)<=TIME(17,0,59),"Within SLA",IF(MOD(R3,1)>=TIME(16,44,59),"Within SLA","Outside SLA")),IF(NETWORKDAYS(R3,Q3,$BE$3)=2,IF(AND(MOD(R3,1)>TIME(16,44,59),MOD(Q3,1)<=TIME(17,0,59)),"Within SLA","Outside SLA"),"Outside SLA")),IF(OR(AJ3="C",AJ3="LC",AJ3="CL",AJ3="",AJ3=0,AJ3="O"),IF(NETWORKDAYS(R3,Q3,$BE$3)<=1,IF(MOD(Q3,1)<=TIME(17,59,59),"Within SLA",IF(MOD(R3,1)>=TIME(17,44,59),"Within SLA","Outside SLA")),IF(NETWORKDAYS(R3,Q3,$BE$3)=2,IF(AND(MOD(R3,1)>=TIME(17,29,59),MOD(Q3,1)<=TIME(17,45,59)),"Within SLA","Outside SLA"),"Outside SLA")))),IF(Y3="Switzerland",IF(AJ3="L",IF(NETWORKDAYS(R3,Q3,$BE$3:$BF$3)<=1,IF(MOD(Q3,1)<=TIME(16,45,59),"Within SLA",IF(MOD(R3,1)>=TIME(16,29,59),"Within SLA","Outside SLA")),IF(NETWORKDAYS(R3,Q3,$BE$3:$BF$3)=2,IF(AND(MOD(R3,1)>=TIME(16,29,59),MOD(Q3,1)<=TIME(16,45,59)),"Within SLA","Outside SLA"),"Outside SLA")),IF(OR(AJ3="C",AJ3="LC",AJ3="CL",AJ3="",AJ3=0,AJ3="O"),IF(NETWORKDAYS(R3,Q3,$BE$3:$BF$3)<=1,IF(MOD(Q3,1)<=TIME(16,45,59),"Within SLA",IF(MOD(R3,1)>=TIME(16,29,59),"Within SLA","Outside SLA")),IF(NETWORKDAYS(R3,Q3,$BE$3:$BF$3)=2,IF(AND(MOD(R3,1)>=TIME(16,29,59),MOD(Q3,1)<=TIME(16,45,59)),"Within SLA","Outside SLA"),"Outside SLA")),IF(Y3="Austria",IF(NETWORKDAYS(R3,Q3,$BE$3:$BF$3)<=1,IF(MOD(Q3,1)<=TIME(16,30,59),"Within SLA",IF(MOD(R3,1)>=TIME(15,59,59),"Within SLA","Outside SLA")),IF(NETWORKDAYS(R3,Q3,$BE$3:$BF$3)=2,IF(AND(MOD(R3,1)>=TIME(15,59,59),MOD(Q3,1)<=TIME(16,30,59)),"Within SLA","Outside SLA"),"Outside SLA")),"N/A"))))),"On Hold")
Regards,
Ramesh