Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > 275bc5f884d593fea8c87799d871d7f1 > files > 422

mandriva-doc-Mastering-Manual-en-2008.1-0.4mdv2008.1.noarch.rpm

<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   
      <title>2.&nbsp;Calculations and Simulations</title>
      <link rel="stylesheet" href="images/mdk-doc.css" type="text/css">
      <meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
      <link rel="start" href="index.html" title="Mastering Mandriva Linux">
      <link rel="up" href="mandrivaone-office.html" title="Chapter&nbsp;3.&nbsp;Doing Office Work">
      <link rel="prev" href="office-writer.html" title="1.&nbsp;Writing Documents">
      <link rel="next" href="office-pres.html" title="3.&nbsp;Communicating Your Ideas">
   </head>
   <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
      <div class="navheader">
         <table width="100%" summary="Navigation header">
            <tr>
               <th colspan="3" align="center">2.&nbsp;Calculations and
                      Simulations
               </th>
            </tr>
            <tr>
               <td width="20%" align="left"><a accesskey="p" href="office-writer.html">Prev</a>&nbsp;
               </td>
               <th width="60%" align="center">Chapter&nbsp;3.&nbsp;Doing Office
                    Work
               </th>
               <td width="20%" align="right">&nbsp;<a accesskey="n" href="office-pres.html">Next</a></td>
            </tr>
         </table>
         <hr>
      </div>
      <div class="section" lang="en">
         <div class="titlepage">
            <div>
               <div>
                  <h2 class="title" style="clear: both"><a name="office-calc"></a>2.&nbsp;Calculations and
                         Simulations
                  </h2>
               </div>
            </div>
         </div>
             
             
         <p><a name="BId-office-calc-pa6"></a>
                <a class="indexterm" name="BIdNEW-office-calc-it2"></a>
                <span class="inlinemediaobject"><img src="images/ooo-calc2.0.png"></span>&nbsp;Choose 
                <span class="guimenu">Office</span>+<span class="guimenu">Spreadsheets</span> &#8594; <span class="guimenuitem">OpenOffice.org Calc</span> from the main menu to launch 
                <span class="application">OpenOffice.org Calc</span>.
         </p>
             
             
         <div class="section" lang="en">
            <div class="titlepage">
               <div>
                  <div>
                     <h3 class="title"><a name="office-calc-interface"></a>2.1.&nbsp;Spreadsheet
                              Interface
                     </h3>
                  </div>
               </div>
            </div>
                  
                  
            <div class="figure"><a name="d5e2155"></a><p class="title"><b>Figure&nbsp;3.2.&nbsp;OpenOffice.org Calc's Main
                             Window</b></p>
               <div class="figure-contents">
                          
                          
                  <div class="mediaobject"><img src="images/ooo-calc-interface.png" alt="OpenOffice.org Calc's Main Window"></div>
                        
               </div>
            </div><br class="figure-break">
                  
                  
            <p><b>Format
                          Bar.&nbsp;</b>
                       
                       This is the
                       standard format bar for all 
                       <span class="application">OpenOffice.org</span> applications,
                       you can use it to change fonts, colors, alignment, etc. of
                       the application's data.
                     
            </p>
                  
            <p><b>Formula
                          Bar.&nbsp;</b>
                       
                       Use it to
                       enter, edit or delete formulas inside cells.
                     
            </p>
                  
            <p><b>Work
                          Area.&nbsp;</b>
                       
                       This is where you enter the
                       data in the spreadsheet: numbers, dates, formulas, images,
                       etc.
                     
            </p>
                  
            <p><b>Select
                          All.&nbsp;</b>
                       
                       
                       Clicking on
                       this little area at the top left corner of the Work Area
                       selects 
                       <span class="emphasis"><em>all</em></span> cells at once. It's useful when you
                       need to make changes which are 
                       &#8220;<span class="quote">global</span>&#8221; to the spreadsheet. For example,
                       changing all font sizes in the cells to 
                       <code class="literal">10pts</code>(points).
                     
            </p>
                  
            <p><b>Sheet Changing
                          Buttons and Tabs.&nbsp;</b>
                       
                       Spreadsheets
                       usually contain more than one sheet. You can use these
                       buttons to easily navigate through each of the
                       spreadsheet's sheets. From left to right they are: 
                       <span class="guilabel">Go to the first sheet</span>, 
                       <span class="guilabel">Go to the previous sheet</span>, 
                       <span class="guilabel">Go to the next sheet</span> and 
                       <span class="guilabel">Go to the last sheet</span>. You may also use
                       the tabs to switch between sheets.
                     
            </p>
                
         </div>
             
         <div class="section" lang="en">
            <div class="titlepage">
               <div>
                  <div>
                     <h3 class="title"><a name="office-calc-enter-data"></a>2.2.&nbsp;Entering Data
                     </h3>
                  </div>
               </div>
            </div>
                  
                  
            <p><a name="BId-office-calc-pa16"></a>To enter data
                     into a cell, navigate to the cell and type the data in it,
                     pressing the 
                     <span class="keycap"><strong>Enter</strong></span> key when you are finished.
                     
            </p>
                  
                  
            <p><a name="BId-office-calc-pa17"></a>Auto-completion
                     simplifies data entry 
                     &#8220;<span class="quote">guessing</span>&#8221; the next cell's value using the
                     current cell's value as a base. It works for any kind of data
                     which can be associated to a simple series of
                     integral numbers.
            </p>
                  
            <div class="figure"><a name="office-calc-auto-complete"></a><p class="title"><b>Figure&nbsp;3.3.&nbsp;Simplifying Data Entry
                             Using Auto-Completion</b></p>
               <div class="figure-contents">
                          
                          
                  <div class="mediaobject"><img src="images/oo-calc-auto-complete.png" alt="Simplifying Data Entry Using Auto-Completion"></div>
                        
               </div>
            </div><br class="figure-break">
                  
            <p><a name="BId-office-calc-pa18"></a>To use
                     auto-completion, put your mouse over the base cell 
                     &#8220;<span class="quote">handle</span>&#8221;(the little square located at the bottom
                     right of the cell border), click on it and drag the cell. The
                     cell values are then shown in a tool-tip (see 
                     <a class="xref" href="office-calc.html#office-calc-auto-complete" title="Figure&nbsp;3.3.&nbsp;Simplifying Data Entry Using Auto-Completion">Figure&nbsp;3.3, &#8220;Simplifying Data Entry
                          Using Auto-Completion&#8221;</a>). Release the
                     mouse button to complete the cells once the desired final
                     value is shown.
            </p>
                  
            <p><a name="BId-office-calc-pa19"></a>Cell data can
                     also be sorted according to different criteria. Select the
                     cells you want to sort and then open the sort options dialog
                     choosing 
                     <span class="guimenu">Data</span> &#8594; <span class="guimenuitem">Sort</span> from the menu. Specify the sort criteria, order
                     and additional options and click on 
                     <span class="guibutton">OK</span> to sort the cells.
            </p>
                  
            <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
               <table border="0" summary="Tip">
                  <tr>
                     <td rowspan="2" align="center" valign="top" width="25"><img alt="[Tip]" src="images/tip.png"></td>
                     <th align="left">Tip</th>
                  </tr>
                  <tr>
                     <td align="left" valign="top">
                                
                        <p><a name="BId-office-calc-pa20"></a>Make sure you
                                   also select columns and rows which act as 
                                   &#8220;<span class="quote">headers</span>&#8221; for the data
                                   so
                                   they 
                                   &#8220;<span class="quote">follow</span>&#8221; the sorting of the data.
                        </p>
                              
                     </td>
                  </tr>
               </table>
            </div>
                
         </div>
             
         <div class="section" lang="en">
            <div class="titlepage">
               <div>
                  <div>
                     <h3 class="title"><a name="office-calc-formulas"></a>2.3.&nbsp;Adding Formulas
                     </h3>
                  </div>
               </div>
            </div>
                  
                  
                  
            <p><a name="BId-office-calc-pa22"></a>Formulas can be used to 
                     &#8220;<span class="quote">automate</span>&#8221; the spreadsheet. For example, you can
                     run complex simulations. Within cells, formulas are defined
                     by preceding all cell data with the 
                     <code class="literal">=</code> sign. Anything else is treated as 
                     &#8220;<span class="quote">static</span>&#8221; data.
            </p>
                  
            <p><a name="BId-office-calc-pa23"></a>Operations are
                     expressed using conventional algebraic notation. For example,
                     
                     <code class="literal">=3*A25+4*(A20+C34/B34)</code> divides the value in
                     cell 
                     <code class="literal">C34</code> by the value in cell 
                     <code class="literal">B34</code>, adds the value in 
                     <code class="literal">A20</code> to the result, multiplies that by 
                     <code class="literal">4</code> and adds it to 
                     <code class="literal">3</code> times the value of cell 
                     <code class="literal">A25</code>. Therefore, rather complex expressions
                     can be made using simpler ones as a base.
            </p>
                  
            <p><a name="BId-office-calc-pa24"></a>
                     <span class="application">OpenOffice.org Calc</span> gives you
                     many pre-defined functions which you can use in your
                     formulas. You can explore them by choosing the 
                     <span class="guimenu">Insert</span> &#8594; <span class="guimenuitem">Function</span> menu.
            </p>
                  
            <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
               <table border="0" summary="Tip">
                  <tr>
                     <td rowspan="2" align="center" valign="top" width="25"><img alt="[Tip]" src="images/tip.png"></td>
                     <th align="left">Tip</th>
                  </tr>
                  <tr>
                     <td align="left" valign="top">
                                
                                
                        <p><a name="BIdNEW-mandrivaone-office-pa113"></a>
                                   <span class="inlinemediaobject"><img src="images/lc_insertformula.png"></span>&nbsp;You can also click on
                                   the function wizard button for assistance with formula
                                   entry.
                        </p>
                              
                     </td>
                  </tr>
               </table>
            </div>
                
         </div>
             
         <div class="section" lang="en">
            <div class="titlepage">
               <div>
                  <div>
                     <h3 class="title"><a name="office-calc-charts"></a>2.4.&nbsp;Charts: Explaining Data in a
                              Simpler Way
                     </h3>
                  </div>
               </div>
            </div>
                  
                  
            <p><a name="BId-office-calc-pa26"></a>When a
                     spreadsheet contains too much information, it becomes
                     difficult to understand how pieces of data relate to one
                     another: too many numbers and too little meaning. The best
                     way to represent this kind of data is through a chart.
            </p>
                  
            <p><a name="BId-office-calc-pa27"></a>As in all
                     data-analysis functions, you must select the region you
                     intend to show in the chart. So, select a range of cells and
                     then choose 
                     <span class="guimenu">Insert</span> &#8594; <span class="guimenuitem">Chart</span> from the menu to bring up the chart
                     assistant.
            </p>
                  
            <p><a name="BId-office-calc-pa28"></a>Make your
                     selections for the chart type, variant, title, axis titles,
                     etc., and then click 
                     <span class="guibutton">Create</span> to create and insert the chart
                     in the spreadsheet (see 
                     <a class="xref" href="office-calc.html#office-calc-inserted-chart" title="Figure&nbsp;3.4.&nbsp;A 3D Chart Inside the Spreadsheet">Figure&nbsp;3.4, &#8220;A 3D Chart Inside the
                          Spreadsheet&#8221;</a>).
            </p>
                  
            <div class="figure"><a name="office-calc-inserted-chart"></a><p class="title"><b>Figure&nbsp;3.4.&nbsp;A 3D Chart Inside the
                             Spreadsheet</b></p>
               <div class="figure-contents">
                          
                          
                  <div class="mediaobject"><img src="images/oo-calc-inserted-chart.png" alt="A 3D Chart Inside the Spreadsheet"></div>
                        
               </div>
            </div><br class="figure-break">
                  
            <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
               <table border="0" summary="Tip">
                  <tr>
                     <td rowspan="2" align="center" valign="top" width="25"><img alt="[Tip]" src="images/tip.png"></td>
                     <th align="left">Tip</th>
                  </tr>
                  <tr>
                     <td align="left" valign="top">
                                
                        <p><a name="BId-office-calc-pa29"></a>Charts are 
                                   &#8220;<span class="quote">dynamic</span>&#8221; in the spreadsheet, which means that
                                   when you change data in a cell belonging to a chart, the
                                   chart is automatically updated.
                        </p>
                              
                     </td>
                  </tr>
               </table>
            </div>
                  
            <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
               <table border="0" summary="Tip">
                  <tr>
                     <td rowspan="2" align="center" valign="top" width="25"><img alt="[Tip]" src="images/tip.png"></td>
                     <th align="left">Tip</th>
                  </tr>
                  <tr>
                     <td align="left" valign="top">
                                
                        <p><a name="BId-office-calc-pa30"></a>Double
                                   clicking and then right-clicking on an inserted chart
                                   brings up a menu showing options to change many chart
                                   parameters.
                        </p>
                              
                     </td>
                  </tr>
               </table>
            </div>
                
         </div>
           
      </div>
      <div class="navfooter">
         <hr>
         <table width="100%" summary="Navigation footer">
            <tr>
               <td width="40%" align="left"><a accesskey="p" href="office-writer.html">Prev</a>&nbsp;
               </td>
               <td width="20%" align="center"><a accesskey="u" href="mandrivaone-office.html">Up</a></td>
               <td width="40%" align="right">&nbsp;<a accesskey="n" href="office-pres.html">Next</a></td>
            </tr>
            <tr>
               <td width="40%" align="left" valign="top">1.&nbsp;Writing
                      Documents&nbsp;
               </td>
               <td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td>
               <td width="40%" align="right" valign="top">&nbsp;3.&nbsp;Communicating Your
                      Ideas
               </td>
            </tr>
         </table>
      </div>
   </body>
</html>