I tried to get a value in a cell that depend on the info in two cells in a worksheet but can't get it to work.

=IF('Alg. Inligting & DO'!I10="Mutaul & Federal" AND 'Alg. Inligting & DO'!D40="Ja",0,6)