Date: prev next · Thread: first prev next last
2020 Archives by date, by thread · List index


Hallo devnull,

wenn dein Summenbereich zwei Spalten breit ist, muss dein Kriterienbereich auch 2 Spalten breit sein. Du erreichst das zum Beispiel mit der Wahl Funktion. Damit kannst du deine Kriterienspalte einmal duplizieren.

=SUMMEWENN(WAHL({1.2};A1:A69;A1:A69);"x";B1:C69)

Du kannst auch alternativ die Aggregat Funktion verwenden. Mit der kannst du die Kriterien in den Divisor schreiben. Mit dem Optionsindex "6" kannst du Fehler unberücksichtigt lassen und mit dem Funktionsindex "9" = die Summe berechnen. Aggregat scheint es nicht zu interessieren, ob die Bereiche gleich groß sind.

=AGGREGAT(9;6;B1:C69/(A1:A69="x"))

Ich hoffe das hat dir weiter geholfen.

mfg

Jürgen

Am 31.12.2020 um 14:38 schrieb /dev/null Maillists:
Ach, ganz vergessen, Hier meine Versionsinformationen:

Version: 7.0.4.2
Build ID: 00(Build:2)
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Ubuntu package version: 1:7.0.4_rc2-0ubuntu0.18.04.2
Calc: threaded

Und selbstverständlich handelt es sich um Calc.

Grüße und Danke.

Am 31.12.20 um 13:41 schrieb /dev/null Maillists:
Hallo Lesende,

Ich versuchte mit SUMMEWENN() einen Summenbereich zusammenzurechnen,
der über zwei Spalten geht.

Die Formel lautet:

*=SUMMEWENN($A$1:$A$69;"x";$B$1:$C$69)*

und ergibt:

3322,04


Das Ergebnis ist aber offensichtlich falsch und etwas anderes als mit
einer reinen Summe über diesen Summenbereich


*=SUMME($B$1:$C$69)*

ergibt:

3.553,60 €

Wenn ich nun aber zwei SUMMEWENN mit einander addiere und jedem nur
eine Spalte gebe, dann stimmt das Ergebnis wieder.


*=SUMMEWENN($A$1:$A$69;"x";$B$1:$B$69)+**SUMMEWENN($A$1:$A$69;"x";$C$1:$C$69)*

ergibt dann*
*

3549,1

**


Beispieldaten sind unten zu finden.

Handelt es sich hier um ein erwartetes Verhalten der Funktion oder ist
das ein Fehler

Danke und Grüße,

devnull

---

[1] Beispieldaten

x       50,00 €         4,99 €
x       49,00 €         4,99 €
x       49,00 €         4,99 €
x       300,00 €        0,00 €
x       153,79 €        4,99 €
x       154,79 €        4,99 €
x       144,34 €        4,99 €
x       157,99 €        4,99 €
x       170,00 €        5,99 €
x       35,50 €         4,99 €
x       25,50 €         4,99 €
x       36,00 €         0,00 €
x       157,99 €        0,00 €
x       31,35 €         0,00 €
x       2,50 €  8,49 €
x       1,00 €  0,00 €
x       10,50 €         4,99 €
x       2,50 €  16,08 €
x       -2,50 €         -16,08 €
x       1,00 €  0,00 €
x       1,00 €  0,00 €
x       66,00 €         4,99 €
x       68,00 €         4,99 €
x       40,00 €         10,00 €
x       160,00 €        0,00 €
x       0,00 €  3,49 €
x       1,00 €  3,79 €
x       1,00 €  3,79 €
x       -72,99 €        0,00 €
x       67,00 €         13,99 €
x       102,00 €        4,99 €
x       12,50 €         5,00 €
x       10,50 €         0,00 €
x       102,00 €        5,00 €
x       47,77 €         0,00 €
x       68,00 €         4,99 €
x       106,00 €        4,99 €
x       51,00 €         4,99 €
x       74,00 €         4,99 €
x       66,00 €         4,99 €
x       71,00 €         4,99 €
x       32,50 €         4,99 €
x       69,00 €         4,99 €
x       14,50 €         4,99 €
x       32,00 €         0,00 €
x       50,00 €         4,99 €
-       1,00 €  2,50 €
-       1,00 €  0,00 €
x       1,00 €  3,79 €
x       5,50 €  4,99 €
x       99,00 €         4,99 €
x       97,00 €         4,99 €
x       40,51 €         4,99 €
x       45,50 €         8,00 €
x       50,00 €         0,00 €
x       13,50 €         8,00 €
x       12,50 €         0,00 €
x       43,50 €         8,00 €
x       45,00 €         0,00 €
x       98,00 €         5,00 €
x       1,00 €  0,00 €

        
        

        
        

        
        

        
        

        
        

        
        

        
        

        
        




--
Liste abmelden mit E-Mail an: users+unsubscribe@de.libreoffice.org
Probleme? https://de.libreoffice.org/hilfe-kontakt/mailing-listen/abmeldung-liste/
Tipps zu Listenmails: https://wiki.documentfoundation.org/Netiquette/de
Listenarchiv: https://listarchives.libreoffice.org/de/users/
Datenschutzerklärung: https://www.documentfoundation.org/privacy

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.