excel formel
hallo!
habe folgendes "formelproblem" in excel:
spalte a: kundennummer
spalte b: tage
beispiel:
a / b
1 / 15
1 / 20
2 / 10
2 / 0
2 / 28
in spalte c soll der maximalwert aus spalte b zur kundennummer angezeigt werden
wunschergebnis demnach:
a / b / c
1 / 15 / 20
1 / 20 /
2 / 10 / 28
2 / 0
2 / 28
welche formel kann mir hier weiterhelfen??
vielen dank vorab!!!
grüße
manolli
Antwort schreiben
Antwort 1 von Hajo_Zi vom 04.06.2020, 16:34 Options
Hall manolli,
folgende Array Formel in C1
=WENN(ZÄHLENWENN($A$1:A1;A1)=1;MAX(WENN(A1:A5=A1;B1:B5));"")
Gruß Hajo
Antwort 2 von Hajo_Zi vom 04.06.2020, 16:42 Options
Hallo,
Manolli,
es fehlten noch paar absolut Zeichen
=WENN(ZÄHLENWENN($A$1:A5;A5)=1;MAX(WENN($A$1:$A$5=A5;$B$1:$B$5));"")
Gruß hajo
Antwort 3 von rainberg vom 04.06.2020, 18:42 Options
Hallo manolli,
wenn die Formel von Hajo nicht funktioniert, dann probier mal diese:
=WENN(ZÄHLENWENN(A$1:A1;A1)=1;MAX(WENN(A$1:A5=A1;B$1:B$5));"")
Formeleingabe in C1 mit Strg+Shift+Enter abschließen und runter kopieren.
Gruß
Rainer
Antwort 4 von manolli vom 05.06.2020, 09:40 Options
hallo hajo,
hallo rainer,
vielen dank für die schnelle antwort!
wie muss ich die formel anpassen wenn sich das ganze auf ca. 60000 zeilen bezieht:
z.B.
a (kd-nr) - b (tage)
1 - 5
1 - 0
1 - 28
2 - 0
2 - 11
3 - 0
4 - 0
5 - 7
6 - 0
6 - 12
usw. (ca. 60000 zeilen, kein linearer verlauf)
danke vorab!
grüße
manolli