I think this should be your formula:
=IF(AND(OR(DAY(G6)<>31;MONTH(G6)<>12);OR(I6="AT";I6="CH";I6="DE";I6="NL";I6="SE"));"Keep";"Delete Line") ^^ ^^ (OR instead of AND)
You have forgotten that: NOT(A AND B) = (NOT (A)) OR (NOT (B))
.
I think this should be your formula:
=IF(AND(OR(DAY(G6)<>31;MONTH(G6)<>12);OR(I6="AT";I6="CH";I6="DE";I6="NL";I6="SE"));"Keep";"Delete Line") ^^ ^^ (OR instead of AND)
You have forgotten that: NOT(A AND B) = (NOT (A)) OR (NOT (B))
.