Hallo Micha,
Am 09.08.2012 16:08, schrieb Micha Kuehn:
In zwei Zeilen stehen Zahlen. Aus der zweiten Zeile soll der
"gewichtete Mittelwert" berechnet werden.
Beispiel:
   | A    B    C   D
---+-------------------
1  | 1    2    0   3
2  | 3    4    5   2
Jetzt soll gerechnet werden: (1*3 + 2*4 + 0*5 + 3*2)/6
Als ausgeschriebene Formel: (A1*A2 + B1*B2 +...)/summe(A1:...)
Dazu gibt es doch sicher eine fertige Funktion?
Ob es wirklich eine eigene Funktion dafür gibt, weiß ich jetzt
nicht. Aber dem Konzept der Tabellenkalkulation folgend, würde man
dafür keine eigene Funktion nehmen, sondern mit einer Matrixformel
arbeiten. Die Matrixformel würde in Deinem Beispiel so lauten:
=SUMME(A1:D1*A2:D2)/SUMME(A1:D1)
(Die Eingabe natürlich mit Strg+Shift+Enter abschließen.)
http://help.libreoffice.org/Calc/Array_Functions/de
Gruß
Stefan
-- 
LibreOffice - Die Freiheit nehm' ich mir!
-- 
Informationen zum Abmelden: E-Mail an users+help@de.libreoffice.org
Probleme? http://de.libreoffice.org/hilfe-kontakt/mailing-listen/abmeldung-liste/
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.