Date: prev next · Thread: first prev next last
2022 Archives by date, by thread · List index


 


 Hallo Boris,


Am 20.07.22 um 13:07 schrieb Boris Kirkorowicz:
Hallo,
ich möchte per Formel das Datum für Ultimo des kommenden Monats
errechnen. Bisher bin ich bei

=TAGEIMMONAT(HEUTE())&"."&TEXT(MONAT(HEUTE())+1;"00")&"."&JAHR(HEUTE())

gelandet, aber das gibt falsche Datümer aus. Beispiele:

Heute = 20.08.2022 → Ausgabe: 31.09.2022    # existiert nicht
Heute = 20.12.2022 → Ausgabe: 31.13.2022    # existiert nicht
Heute = 20.01.2023 → Ausgabe: 31.02.2023    # existiert nicht
Heute = 20.02.2023 → Ausgabe: 28.03.2023    # ist nicht Ultimo
Heute = 20.03.2023 → Ausgabe: 31.04.2023    # existiert nicht

An dieser Stelle lege ich mir die Karten. Hat jemand eine Idee, wie man
das hinbekommt?

Wenn das Datum in einer Zelle im Datumsformat vorliegt, sollte die Formel so aussehen:
=MONATSENDE(EDATUM(Zelle;1);0).

Ich hoffe damit helfe ich dir.
GrußDaniel
  
-- 
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.