Eloise T
Active Member
The following formula lives and runs in one of my "filter" spreadsheets in cell O7:
'=IF(N7<>0,IF(H7=5,10,IF(AND(H7=10,IFERROR(SEARCH("*Cancel*",J7)>0,0),IFERROR(SEARCH("*24*",J7)>0,0)),20,IF(AND(H7=10,IFERROR(SEARCH("*Cancel*",J7)>0,0),IFERROR(SEARCH("*OSS*",J7)>0,0)),30,IF(AND(H7=15,OR(ISNUMBER(SEARCH({"*EU*","*SNR*","*Site*"},J7)))),30,IF(OR(ISNUMBER(SEARCH({"*Diag*","*ware*","*FWU*"},J7))),40,IF(AND(OR(H7=45,H7=65),N7<51,IFERROR(SEARCH("*OSS*",J7)>0,0)),100,IF(AND(OR(H7=45,H7=65),N7>50,N7<66,IFERROR(SEARCH("*OSS*",J7)>0,0)),130,IF(AND(OR(H7=45,H7=65),N7>65,IFERROR(SEARCH("*OSS*",J7)>0,0)),140,IF(AND(OR(H7=45,H7=65),N7<51),80,IF(AND(OR(H7=45,H7=65),N7>50,N7<80),110,IF(AND(OR(H7=45,H7=65),N7>79),135,IF(AND(OR(H7=30,H7=50),N7<51,IFERROR(SEARCH("*OSS*",J7)>0,0)),70,IF(AND(OR(H7=30,H7=50),N7>50,N7<66,IFERROR(SEARCH("*OSS*",J7)>0,0)),100,IF(AND(OR(H7=30,H7=50),N7>65,IFERROR(SEARCH("*OSS*",J7)>0,0)),110,IF(AND(H7>69,N7>65,IFERROR(SEARCH("*OSS*",J7)>0,0)),135,IF(AND(OR(H7=30,H7=50),N7<51),50,IF(AND(OR(H7=30,H7=50),N7>50,N7<80),80,IF(AND(OR(H7=30,H7=50),N7>79),105,IF(AND(H7>69,N7>69,N7<80),105,IF(AND(H7>69,N7>79),130,"√")))))))))))))))))))),"--")
The formula works just fine; however, when I copy it and paste it as a comment in another part of my spreadsheet, cell A1 in the attachment, it gets truncated and stops at the red character F above.
Any explanations come to mind?
See attached spreadsheet. Thank you.
'=IF(N7<>0,IF(H7=5,10,IF(AND(H7=10,IFERROR(SEARCH("*Cancel*",J7)>0,0),IFERROR(SEARCH("*24*",J7)>0,0)),20,IF(AND(H7=10,IFERROR(SEARCH("*Cancel*",J7)>0,0),IFERROR(SEARCH("*OSS*",J7)>0,0)),30,IF(AND(H7=15,OR(ISNUMBER(SEARCH({"*EU*","*SNR*","*Site*"},J7)))),30,IF(OR(ISNUMBER(SEARCH({"*Diag*","*ware*","*FWU*"},J7))),40,IF(AND(OR(H7=45,H7=65),N7<51,IFERROR(SEARCH("*OSS*",J7)>0,0)),100,IF(AND(OR(H7=45,H7=65),N7>50,N7<66,IFERROR(SEARCH("*OSS*",J7)>0,0)),130,IF(AND(OR(H7=45,H7=65),N7>65,IFERROR(SEARCH("*OSS*",J7)>0,0)),140,IF(AND(OR(H7=45,H7=65),N7<51),80,IF(AND(OR(H7=45,H7=65),N7>50,N7<80),110,IF(AND(OR(H7=45,H7=65),N7>79),135,IF(AND(OR(H7=30,H7=50),N7<51,IFERROR(SEARCH("*OSS*",J7)>0,0)),70,IF(AND(OR(H7=30,H7=50),N7>50,N7<66,IFERROR(SEARCH("*OSS*",J7)>0,0)),100,IF(AND(OR(H7=30,H7=50),N7>65,IFERROR(SEARCH("*OSS*",J7)>0,0)),110,IF(AND(H7>69,N7>65,IFERROR(SEARCH("*OSS*",J7)>0,0)),135,IF(AND(OR(H7=30,H7=50),N7<51),50,IF(AND(OR(H7=30,H7=50),N7>50,N7<80),80,IF(AND(OR(H7=30,H7=50),N7>79),105,IF(AND(H7>69,N7>69,N7<80),105,IF(AND(H7>69,N7>79),130,"√")))))))))))))))))))),"--")
The formula works just fine; however, when I copy it and paste it as a comment in another part of my spreadsheet, cell A1 in the attachment, it gets truncated and stops at the red character F above.
Any explanations come to mind?
See attached spreadsheet. Thank you.