Am 2011-11-23 00:12 schrieb Thomas Kübler:
Hallo Andre,
Am 22.11.2011 14:04, schrieb Andre Tann:
ID   Wert
1    Apfel
1    Birne
2    Ananas
1    Tomate
Nun möchte ich in einer Zelle alle Werte, deren ID 1 ist, verkettet
ausgeben:
Apfel;Birne;Tomate
Geht das?
Im Prinzip ja:
      A         B       C(Formel ein)               C(Formel aus)
1  ID     Wert
2  1      Apfel    =WENN(A2=1;C1&";"&B2;C1)    ;Apfel
3  1      Birne    =WENN(A3=1;C2&";"&B3;C2)    ;Apfel;Birne
4  2      Ananas   =WENN(A4=1;C3&";"&B4;C3)    ;Apfel;Birne
5  1      Tomate   =WENN(A5=1;C4&";"&B5;C4)    ;Apfel;Birne;Tomate
Das Einschalten der Formel geschieht unter:
Extras | Optionen - OpenOffice.org Calc - Ansicht - Anzeigen
Haken vor "Formel" zum Einschalten / ohne Haken zum Wert anzeigen
Du mußt nur das Feld C2 eingeben. die anderen Felder kannst Du durch 
kopieren füllen.
Das Semikolon vor dem ersten Wert müsste man am Schluss wieder entfernen.
Ich hoffe mein Denkanstoß hilft Dir.
Dazu würde es reichen, wenn er *nach* der Kopier-Aktion einfach die
Formel in C2 wie folgt ändert: =WENN(A2=1;B2;"")
Dann würde die obige Matrix wie folgt aussehen:
      A         B       C(Formel ein)               C(Formel aus)
1  ID     Wert
2  1      Apfel    =WENN(A2=1;B2;"")           Apfel
3  1      Birne    =WENN(A3=1;C2&";"&B3;C2)    Apfel;Birne
4  2      Ananas   =WENN(A4=1;C3&";"&B4;C3)    Apfel;Birne
5  1      Tomate   =WENN(A5=1;C4&";"&B5;C4)    Apfel;Birne;Tomate
Thomas
 .... und tschüss
            Franklin
-- 
Informationen zum Abmelden: E-Mail an users+help@de.libreoffice.org
Probleme? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
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.