Re: Bereich erweitern
06.06.2003 13:29:43
Panicman
Hallo Steffen,ein bischen kompliziert aber bei mir funzt es.
in Tabelle1 Bereich E4:E12 und Tabelle3 F4:F12 stehen.
Formel: {=INDEX(WENN(MAX(WENN((LINKS($E$4:$E$12;1)="a");RECHTS($E$4:$E$12;2)*1))>MAX(WENN((LINKS(Tabelle3!$F$4:$F$12;1)="a");RECHTS(Tabelle3!$F$4:$F$12;2)*1));E4:E12;Tabelle3!F4:F12);WENN(ISTFEHLER(VERGLEICH("A*"&MAX(MAX(WENN((LINKS($E$4:$E$12;1)="a");RECHTS($E$4:$E$12;2)*1));MAX(WENN((LINKS(Tabelle3!$F$4:$F$12;1)="a");RECHTS(Tabelle3!$F$4:$F$12;2)*1)));E4:E12));VERGLEICH("A*"&MAX(MAX(WENN((LINKS($E$4:$E$12;1)="a");RECHTS($E$4:$E$12;2)*1));MAX(WENN((LINKS(Tabelle3!$F$4:$F$12;1)="a");RECHTS(Tabelle3!$F$4:$F$12;2)*1)));Tabelle3!F4:F12);VERGLEICH("A*"&MAX(MAX(WENN((LINKS($E$4:$E$12;1)="a");RECHTS($E$4:$E$12;2)*1));MAX(WENN((LINKS(Tabelle3!$F$4:$F$12;1)="a");RECHTS(Tabelle3!$F$4:$F$12;2)*1)));E4:E12)))}
Falls du aber immer nach Zahlen suchst, die mit "A " anfangen,
kannst du auch diese benutzen
Formel: {="A "&TEXT(MAX(MAX(WENN((LINKS($E$4:$E$12;1)="a");RECHTS($E$4:$E$12;2)*1));MAX(WENN((LINKS(Tabelle3!$F$4:$F$12;1)="a");RECHTS(Tabelle3!$F$4:$F$12;2)*1)));"00")}
Gruß
Holger
P.S. Das muß doch einfacher gehen ???