Hi,
Can anyone correct this? My code is not quite working and it appears to be a problem with my OR sections, can anyone correct this?
=IF(AND(AZ2="ID",ISNUMBER(SEARCH("Com [L5]",AL2))=FALSE),"Investment",IF(OR(AZ2="Global Consumer",AL2="Commercial too"),"Retail ",IF(AND(AK2="Activities [L4]",ISNUMBER(SEARCH("Audit [L5]",OR("Risk",OR("Independent")),AL2))=FALSE),"Corporate",IF(AND(AK2="Activities [L4]",ISNUMBER(SEARCH("Audit [L5]",OR("Risk",OR("Independent")),AL2))=TRUE),"Independent"))))
Can anyone correct this? My code is not quite working and it appears to be a problem with my OR sections, can anyone correct this?
=IF(AND(AZ2="ID",ISNUMBER(SEARCH("Com [L5]",AL2))=FALSE),"Investment",IF(OR(AZ2="Global Consumer",AL2="Commercial too"),"Retail ",IF(AND(AK2="Activities [L4]",ISNUMBER(SEARCH("Audit [L5]",OR("Risk",OR("Independent")),AL2))=FALSE),"Corporate",IF(AND(AK2="Activities [L4]",ISNUMBER(SEARCH("Audit [L5]",OR("Risk",OR("Independent")),AL2))=TRUE),"Independent"))))