Hallo
Am 30.06.2012 12:15, schrieb Robert Großkopf:
Die Formel: =WENN((OSTERSONNTAG(Info.$C$3+1)+39)=A10;"Chr.
Himmelfahrt";"")+VORLAGE(WENN((OSTERSONNTAG(Info.$C$3+1)+39)=A10;"grau";"weiss"))
Wenn eine Formel _Text_ zurückgibt wird eine Vorlage in der Syntax ...
& T(VORLAGE(...
...benutzt, gibt die Formel einen _Wert_ zurück nimmt man:
 + VORLAGE(...
abgesehen davon ist deine Formel furchtbar unflexibel, ein paar Tage
später musst du ja schon wieder *umschreiben* auf Pfingsten.
Allgemeingültig fürs ganze Jahr ginge das zb. mit:
=WENN(ZÄHLENWENN( feiertagsdaten ; A10);SVERWEIS(A10;
feiertage;2;0)&T(VORLAGE(SVERWEIS(A10;feiertage;3;0);"")
*feiertagsdaten* ist hier die erste Spalte einer zentralen
Feiertagsliste, *feiertage* ist die ganze 3-spaltige Liste mit Daten,
Feiertagsnamen und Vorlagennamen.
Werner
--
Informationen zum Abmelden: E-Mail an users+help@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.