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


Am 23.12.2015 um 13:10 schrieb openoffice@skerra.net:
Hallo

  Ich habe ein Base Tabelle und ein Formular mit 3 Feldern Anfangszeit,
Endzeit, Dauer
Ich möchte im Formular das ich als Tabelle dargestellt habe, Anfangs und
Endzeit eingeben und dann soll automatisch die Dauer erscheinen.
Wie mache ich das. Wo muss ich die Berechnung angeben.

Wenn die Anfangszeit in Spalte A, die Endzeit in Spalte B und die Dauer
in Spalte C steht, gibst Du in z. B. C1 folgende Formel ein:

=WENN(B1="";"";B1-A1)

Diese Zelle (die *ganze* Zelle, nicht nur den *Inhalt*) kopierst Du dann
in die Zeilen darunter, soweit Du es brauchst.

BTW1, oft braucht man auch eine Möglichkeit, die Mittagspause ein zu
geben; dann wäre die Formel eben in Spalte E und lautet:

=WENN(B1="";"";B1-A1-WENN(D1="";0;D1-C1))

BTW2: Die Spalte C bzw. E solltest Du als "[HH]:MM" (ohne die Hochkomma)
formatieren, damit Du ggf. auch Werte größer 24 Stunden als solche
angezeigt bekommen kannst.

Wolfgang
-- 

-- 
Liste abmelden mit E-Mail an: users+unsubscribe@de.libreoffice.org
Probleme? http://de.libreoffice.org/hilfe-kontakt/mailing-listen/abmeldung-liste/
Tipps zu Listenmails: http://wiki.documentfoundation.org/Netiquette/de
Listenarchiv: http://listarchives.libreoffice.org/de/users/
Alle E-Mails an diese Liste werden unlöschbar öffentlich archiviert

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.