Ich weiß nicht, warum diese Formel falsch ist?

Ich weiß nicht, warum diese Formel falsch ist?

Hallo, ich verwende diese Formel

=IF(Jan>[@[Date From]],[@[Monthly Amortization]],0,if(Jan<[@[Date Until]],[@[Monthly Amortization]],0,if(Jan=[@[Date Until]],[@[Monthly Amortization]],0,if(Jan>[@[Date Until]],0,0))))

Es wird zurückgegeben, dass Sie zu viele Argumente für diese Funktion eingegeben haben. Kann mir jemand dabei helfen? Ich wäre dankbar.

Antwort1

Sie schreiben mehr als Value if True und Value if False in Ihrem Nested If.
Normalerweise schreiben Sie „

=If(Logical Test, Value if True, Value if False)  
=If(Logical Test, Value if True, IF(Logical Test, Value if True, Value if False))

Ihre korrigierte Formel:

=IF(Jan>[@[Date From]],[@[Monthly Amortization]],if(Jan<[@[Date Until]],[@[Monthly Amortization]],if(Jan=[@[Date Until]],[@[Monthly Amortization]],if(Jan>[@[Date Until]],0,0))))

Aber das letzte if sollte sich ändern, Sie haben Value if True 0 und Value if False 0

verwandte Informationen