Danke @Jürgen Kirsten, ganz großartig!
hier eine Formel für deine Mittelwerte:
=MITTELWERTWENNS($Daten.B$2:B$1471;$Daten.A$2:A$1471;">="&DATUM(A2;B2;1);$Daten.A$2:A$1471;"<"&DATUM(A2;B2+1;1))
Und das
Wenn du wie in deinem Beispiel mit JAHR() und MONAT() arbeiten
möchtest,...
ist dank Deiner Anleitung nicht nötig.
Eine Frage noch: Wenn es in der Datum-Liste Lücken gibt z.B. Urlaub im
August, kommt eine Fehlermeldung. Das könnte ich mit einer
WENN-Bedingung umgehen z.B.:
= WENN(
MITTELWERTWENNS($Daten.B$2:B$1471;$Daten.A$2:A$1471;">="&DATUM(A2;B2;1);$Daten.A$2:A$1471;"<"&DATUM(A2;B2+1;1))
> 0;
MITTELWERTWENNS($Daten.B$2:B$1471;$Daten.A$2:A$1471;">="&DATUM(A2;B2;1);$Daten.A$2:A$1471;"<"&DATUM(A2;B2+1;1));
"n.v.")
Das macht die Formel in CALC schlecht lesbar; kann man die Formel
irgendwie "ausklammern" oder einmal hinterlegen, mehrmals nutzen?
Danke und viele Grüße
Michael
--
Liste abmelden mit E-Mail an: users+unsubscribe@de.libreoffice.org
Probleme? https://de.libreoffice.org/hilfe-kontakt/mailing-listen/abmeldung-liste/
Tipps zu Listenmails: https://wiki.documentfoundation.org/Netiquette/de
Listenarchiv: https://listarchives.libreoffice.org/de/users/
Datenschutzerklärung: https://www.documentfoundation.org/privacy
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.