Anzeige
Anzeige
HERBERS
Excel-Forum (Archiv)
20+ Jahre Excel-Kompetenz: Von Anwendern, für Anwender

Forumthread: Nach bestimmten Kriterien aussortieren

Nach bestimmten Kriterien aussortieren
02.08.2007 10:21:44
Mike
Hallo zusammen,
hoffe, mir kann jemand weiterhelfen.. Eigentlich müsste ich das hinbekommen aber irgendwie bin ich heut wohl etwas zu dämlich.
Also ich möchte aus einer Gesamtliste anhand von bestimmten Kriterien einige Daten (zeilen), die den Kriterien entsprechen, in eine neue Liste (Teilliste) übernehmen.
Meine Formel bisher war:
Wenn(Zellenbereich=Kriterium;Bereich;"") das ganze dann per STRG+Umschalt+Enter als array.
Das funktioniert auch, allerdings lässt er mir dann auch Leerzeilen mit drin, wenn das Kriterium nicht zutrifft.
Hab ne Datei angehängt, um es etwas verständlicher darzustellen.

Die Datei https://www.herber.de/bbs/user/44700.xls wurde aus Datenschutzgründen gelöscht


Vielen Dank schonmal.
Gruß

Anzeige

2
Beiträge zum Forumthread
Beiträge zu diesem Forumthread

Betreff
Datum
Anwender
Anzeige
AW: Nach bestimmten Kriterien aussortieren
02.08.2007 10:49:00
jockel
hi Mike, schau mal hier:
https://www.herber.de/bbs/user/44704.xls
Düsseldorf
 ABC
1StandortKFZ ZeichenFZG-Art
2M-AB 10DüsseldorfPKW
3M-AB 11DüsseldorfBUS
4M-AB 16DüsseldorfBUS
5M-AB 17DüsseldorfPKW
6M-AB 18DüsseldorfPKW
7   
8   
9   
10   
Formeln der Tabelle
A2 : {=WENN(ISTFEHLER(INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(B1)); SPALTE(A1))); "";INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(B1)); SPALTE(A1)))}
B2 : =WENN(ZÄHLENWENN(Gesamtliste!B:B;TEIL(ZELLE("Dateiname";$A$1); FINDEN("]";ZELLE("Dateiname";$A$1))+1;31))>=1;TEIL(ZELLE("Dateiname";$A$1); FINDEN("]";ZELLE("Dateiname";$A$1))+1;31); "")
C2 : {=WENN(ISTFEHLER(INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(D1)); SPALTE(C1))); "";INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(D1)); SPALTE(C1)))}
A3 : {=WENN(ISTFEHLER(INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(B2)); SPALTE(A2))); "";INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(B2)); SPALTE(A2)))}
B3 : =WENN(A3="";"";B2)
C3 : {=WENN(ISTFEHLER(INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(D2)); SPALTE(C2))); "";INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(D2)); SPALTE(C2)))}
A4 : {=WENN(ISTFEHLER(INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(B3)); SPALTE(A3))); "";INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(B3)); SPALTE(A3)))}
B4 : =WENN(A4="";"";B3)
C4 : {=WENN(ISTFEHLER(INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(D3)); SPALTE(C3))); "";INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(D3)); SPALTE(C3)))}
A5 : {=WENN(ISTFEHLER(INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(B4)); SPALTE(A4))); "";INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(B4)); SPALTE(A4)))}
B5 : =WENN(A5="";"";B4)
C5 : {=WENN(ISTFEHLER(INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(D4)); SPALTE(C4))); "";INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(D4)); SPALTE(C4)))}
A6 : {=WENN(ISTFEHLER(INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(B5)); SPALTE(A5))); "";INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(B5)); SPALTE(A5)))}
B6 : =WENN(A6="";"";B5)
C6 : {=WENN(ISTFEHLER(INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(D5)); SPALTE(C5))); "";INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(D5)); SPALTE(C5)))}
A7 : {=WENN(ISTFEHLER(INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(B6)); SPALTE(A6))); "";INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(B6)); SPALTE(A6)))}
B7 : =WENN(A7="";"";B6)
C7 : {=WENN(ISTFEHLER(INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(D6)); SPALTE(C6))); "";INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(D6)); SPALTE(C6)))}
A8 : {=WENN(ISTFEHLER(INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(B7)); SPALTE(A7))); "";INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(B7)); SPALTE(A7)))}
B8 : =WENN(A8="";"";B7)
C8 : {=WENN(ISTFEHLER(INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(D7)); SPALTE(C7))); "";INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(D7)); SPALTE(C7)))}
A9 : {=WENN(ISTFEHLER(INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(B8)); SPALTE(A8))); "";INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(B8)); SPALTE(A8)))}
B9 : =WENN(A9="";"";B8)
C9 : {=WENN(ISTFEHLER(INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(D8)); SPALTE(C8))); "";INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(D8)); SPALTE(C8)))}
A10 : {=WENN(ISTFEHLER(INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(B9)); SPALTE(A9))); "";INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(B9)); SPALTE(A9)))}
B10 : =WENN(A10="";"";B9)
C10 : {=WENN(ISTFEHLER(INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(D9)); SPALTE(C9))); "";INDEX(Gesamtliste!$A$1:$C$1000;KKLEINSTE(WENN(Gesamtliste!$B$1:$B$1000=$B$2;ZEILE($1:$1000)); ZEILE(D9)); SPALTE(C9)))}
Enthält Matrixformel:
Umrandende
{ } nicht miteingeben,
sondern Formel mit STRG+SHIFT+RETURN abschließen!
 
Diagramm - Grafik - Excel Tabellen einfach im Web darstellen    Excel Jeanie HTML  3.0    Download  
cu jörg
einfeedback wär ganz reizend

Anzeige
AW: Nach bestimmten Kriterien aussortieren
02.08.2007 10:53:00
Thomas
Hallo Mike,
warum setzt du nicht einfach einen Autofilter in deiner Gesamtliste damit kannst du nach Herzenslust auswählen und ordnen.
Gruü Thomas
;

Forumthreads zu verwandten Themen

Anzeige
Anzeige
Entdecke relevante Threads

Schau dir verwandte Threads basierend auf dem aktuellen Thema an

Alle relevanten Threads mit Inhaltsvorschau entdecken
Anzeige

Beliebteste Forumthreads (12 Monate)

Anzeige
Anzeige
Entdecke mehr
Finde genau, was du suchst

Die erweiterte Suchfunktion hilft dir, gezielt die besten Antworten zu finden

Suche nach den besten Antworten
Unsere beliebtesten Threads

Entdecke unsere meistgeklickten Beiträge in der Google Suche

Top 100 Threads jetzt ansehen
Anzeige