home *** CD-ROM | disk | FTP | other *** search
/ Enter 2004 January / enter-2004-01.iso / files / soto_en / f_0292 / scalc.jar / text / scalc / guide / formulas.xml < prev    next >
Encoding:
Extensible Markup Language  |  2002-03-08  |  5.9 KB  |  72 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>Calculate with formulas</title><meta name="filename" content="text/scalc/guide/formulas"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         table.Tabelle1{
  5.                 }
  6.         span.Tabelle1A{
  7.                 width:1.499cm;}
  8.         span.Tabelle1B{
  9.                 width:16.498cm;}
  10.         tr.Tabelle11{
  11.                 }
  12.         td.Tabelle1A1{
  13.                 }
  14.         table.Tabelle2{
  15.                 }
  16.         span.Tabelle2A{
  17.                 width:7.495cm;}
  18.         span.Tabelle2B{
  19.                 width:10.502cm;}
  20.         td.Tabelle2A1{
  21.                 }
  22.         td.Tabelle2B1{
  23.                 border-width:0.002cm; border-style:solid; border-color:#000000;}
  24.         td.Tabelle2A2{
  25.                 }
  26.         td.Tabelle2B2{
  27.                 }
  28.         p.P1{
  29.                 }
  30.         span.fr1{
  31.                 }
  32.         </style></head><body>
  33.   
  34.   
  35.   <p class="P1"/>
  36.   <p class="Head1"><help:key-word value="Formula; in table cell" tag="kw68081_7" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="Calculate; with formulas" tag="kw68081_9" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="Reference; in table formula" tag="kw68081_8" xmlns:help="http://openoffice.org/2000/help"/><help:to-be-embedded Eid="formulas" xmlns:help="http://openoffice.org/2000/help"><help:link Id="68081">Calculate with formulas</help:link></help:to-be-embedded></p>
  37.   <p class="Paragraph">All formulas begin with an equals sign. The formulas may contain numbers or text, and other data is also possible such as format details, which determine how the numbers are to be formatted. Naturally the formulas will also contain arithmetic operators, logic operators or function starts.</p>
  38.   <table><tr class="Tabelle11"><th class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1A">
  39.       <p class="Paragraph"><draw:image draw:style-name="fr1" draw:name="HIND_1" text:anchor-type="paragraph" svg:width="0.847cm" svg:height="0.847cm" draw:z-index="0" xlink:href="66732" xlink:type="simple" xlink:show="embed" xlink:actuate="onRequest" draw:filter-name="GIF - Graphics Interchange" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:text="http://openoffice.org/2000/text" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/>
  40.       </p>
  41.      </span></th><th class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1B">
  42.       <p class="Paragraph">Remember that the <help:key-word value="basic arithmetic" tag="kw68081_1" xmlns:help="http://openoffice.org/2000/help"/>basic arithmetic signs (+, -, *, /) can be used in formulas using the "Multiplication and Division before Addition and Subtraction" rule. Instead of writing =<help:key-word value="SUM" tag="kw68081_6" xmlns:help="http://openoffice.org/2000/help"/>SUM(A1:B1) it's better to write =A1+B1.</p>
  43.       <p class="Paragraph">Parenthesis are also possible. The result of the formula =1+2*3 means something different than =(1+2)*3.</p>
  44.      </span></th></tr></table>
  45.   <p class="Paragraph">Here are a few examples of SOT Office Calc formulas:</p>
  46.   <table border="1" bordercolor="#000000" cellpadding="2" cellspacing="0" page-break-inside="page-break-inside:avoid"><tr class=""><td class="Tabelle2A1" style="text-align:left;"><span class="Tabelle2A">
  47.      <p class="Paragraph">= A1 + 10</p>
  48.     </span></td><td class="Tabelle2B1" style="text-align:left;"><span class="Tabelle2B">
  49.      <p class="Paragraph">Displays the contents of cell A1 plus 10.</p>
  50.     </span></td></tr><tr class=""><td class="Tabelle2A2" style="text-align:left;"><span class="Tabelle2A">
  51.      <p class="Paragraph">= <help:key-word value="ROUND" tag="kw68081_5" xmlns:help="http://openoffice.org/2000/help"/>ROUND(A1;1)</p>
  52.     </span></td><td class="Tabelle2B2" style="text-align:left;"><span class="Tabelle2B">
  53.      <p class="Paragraph">Rounds the contents in cell A1 to one decimal place.</p>
  54.     </span></td></tr><tr class=""><td class="Tabelle2A2" style="text-align:left;"><span class="Tabelle2A">
  55.      <p class="Paragraph">= <help:key-word value="EFFECTIVE" tag="kw68081_4" xmlns:help="http://openoffice.org/2000/help"/>EFFECTIVE(5%;12)</p>
  56.     </span></td><td class="Tabelle2B2" style="text-align:left;"><span class="Tabelle2B">
  57.      <p class="Paragraph">Calculates the effective interest at 5% annually with 12 payments.</p>
  58.     </span></td></tr><tr class=""><td class="Tabelle2A2" style="text-align:left;"><span class="Tabelle2A">
  59.      <p class="Paragraph">=B8 - <help:key-word value="SUM" tag="kw68081_3" xmlns:help="http://openoffice.org/2000/help"/>SUM(B10:B14)</p>
  60.     </span></td><td class="Tabelle2B2" style="text-align:left;"><span class="Tabelle2B">
  61.      <p class="Paragraph">Calculates the sum of the cells B10 to B14 minus the value of B8.</p>
  62.     </span></td></tr><tr class=""><td class="Tabelle2A2" style="text-align:left;"><span class="Tabelle2A">
  63.      <p class="Paragraph">=SUM(B8;SUM(B10:B14))</p>
  64.     </span></td><td class="Tabelle2B2" style="text-align:left;"><span class="Tabelle2B">
  65.      <p class="Paragraph">Calculates the sum of cells B10 to B14 and adds the value to B8.</p>
  66.     </span></td></tr></table>
  67.   <p class="Paragraph">It is also possible to nest functions in formulas, as shown in the fifth example in the table above. You can also nest functions. For example, instead of =ROUND(A1;1), you could also calculate the sine function with =ROUND(SIN(A1);2). The <help:key-word value="Function AutoPilot" tag="kw68081_2" xmlns:help="http://openoffice.org/2000/help"/>Function AutoPilot assists you with nested functions.</p>
  68.   <p class="ParaList"><help:embedded Id="65598" Eid="related" xmlns:help="http://openoffice.org/2000/help"/></p>
  69.   <p class="ParaList"><help:embedded Id="68298" Eid="formula_enter" xmlns:help="http://openoffice.org/2000/help"/></p>
  70.   <p class="ParaList"><help:link Id="66815" xmlns:help="http://openoffice.org/2000/help">Functions list</help:link></p>
  71.   <p class="ParaList"><help:link Id="66841" xmlns:help="http://openoffice.org/2000/help">AutoPilot: Functions</help:link></p>
  72.  </body></html>