ich stehe mal wieder vor einem Rätsel. Mit folgendem SVERWEIS hole ich mir Werte aus einer anderen, geschlossenen Datei. Das kuriose daran ist, mal funktioniert das und mal nicht, obwohl das Suchkriterium (AuftragsNr) als Zahl formatiert und vorhanden ist. Woran könnte das liegen? Vielen Dank schon mal im Voraus! Grüße, Stephan
=WENN(C7="";"";WENN(C4="Lijn3";SVERWEIS(C7; 'T:\Bon\Produktie\Afvulafdeling\[planning productie nieuw.xls]Lijn3'!$A$5:$P$65536;2;0);"") &WENN(C4="Lijn4";SVERWEIS(C7; 'T:\Bon\Produktie\Afvulafdeling\[planning productie nieuw.xls]Lijn4'!$A$5:$P$65536;2;0);"") &WENN(C4="Lijn7";SVERWEIS(C7; 'T:\Bon\Produktie\Afvulafdeling\[planning productie nieuw.xls]Lijn7'!$A$5:$P$65536;2;0);"") &WENN(C4="Lijn8";SVERWEIS(C7; 'T:\Bon\Produktie\Afvulafdeling\[planning productie nieuw.xls]Lijn8'!$A$5:$P$65536;2;0);"") &WENN(C4="Lijn9";SVERWEIS(C7; 'T:\Bon\Produktie\Afvulafdeling\[planning productie nieuw.xls]Lijn9'!$A$5:$P$65536;2;0);"") &WENN(C4="Lijn10";SVERWEIS(C7; 'T:\Bon\Produktie\Afvulafdeling\[planning productie nieuw.xls]Lijn10'!$A$5:$P$65536;2;0);"") &WENN(C4="Lijn11";SVERWEIS(C7; 'T:\Bon\Produktie\Afvulafdeling\[planning productie nieuw.xls]Lijn11'!$A$5:$P$65536;2;0);"") &WENN(C4="Lijn12";SVERWEIS(C7; 'T:\Bon\Produktie\Afvulafdeling\[planning productie nieuw.xls]Lijn12'!$A$5:$P$65536;2;0);""))