## Try=IF(ISNUMBER(SEARCH("PR1",B1)),"PR1",IF(ISNUMBER(SEARCH("PC1",B1)),"PC1",IF(

### Try=IF(ISNUMBER(SEARCH("PR1",B1)),"PR1",IF(ISNUMBER(SEARCH("PC1",B1)),"PC1",IF(

Thank you so much for this, after two hours of internet searching, and three hours of excel frustration you have solved my problem. . .

The following 6 deep Nested If is working fine (630 char long)

=IF(AND(D1048="Cash",NOT((K1048="SCA/FACS
NONCARILION"))),"Cash",IF(AND(OR(\$D1048="Discover",D1048="MASTER",D1048="Master
card",D1048="VISA"),NOT((K1048="SCA/FACS NONCARILION"))*NOT((K1048="SCA/NORTH
CAROLINA"))),"VMD",IF(AND(D1048="null",C1048>0,OR(K1048="SCA/FACS
NONCARILION",K1048="SCA/NORTH
CAROLINA")),"bkdf-SCA",IF(AND(D1048="null",C1048<0,OR(K1048="SCA/FACS
NONCARILION",K1048="SCA/NORTH
CAROLINA")),"bkdf-SCA-Crs",IF(AND(OR(D1048="MASTER",D1048="VISA"),K1048="SCA/FACS
NONCARILION"),"vsmc-sca-NonC",IF(AND(D1048="null",C1048<0,NOT((K1048="SCA/FACS NONCARILION"))*NOT((K1048="SCA/NORTH CAROLINA"))),"bkdf-Crs","bkdf"))))))

But when I try and insert a 7th if (below) in between #1 and #3 If's (also