| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files/LibreOffice/help/en-US/text/scalc/guide/ |
Upload File : |
<!DOCTYPE html> <html lang="en-US" dir="ltr"> <head> <base href="../../../../"> <noscript><meta http-equiv="refresh" content="0; URL=../../../../en-US/noscript.html"></noscript> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Calculating With Formulas</title> <link rel="shortcut icon" href="media/navigation/favicon.ico"> <link type="text/css" href="normalize.css" rel="Stylesheet"> <link type="text/css" href="prism.css" rel="Stylesheet"> <link type="text/css" href="default.css" rel="Stylesheet"> <script type="text/javascript" src="polyfills.js"></script><script type="text/javascript" src="languages.js"></script><script type="text/javascript" src="en-US/langnames.js"></script><script type="text/javascript" src="flexsearch.debug.js"></script><script type="text/javascript" src="prism.js"></script><script type="text/javascript" src="help2.js" defer></script><script type="text/javascript" src="a11y-toggle.js" defer></script><script type="text/javascript" src="paginathing.js" defer></script><script type="text/javascript" src="en-US/bookmarks.js" defer></script><script type="text/javascript" src="en-US/contents.js" defer></script><script type="text/javascript" src="help.js" defer></script><meta name="viewport" content="width=device-width,initial-scale=1"> </head> <body> <header id="TopLeftHeader"><a class="symbol" href="en-US/text/shared/05/new_help.html"><div></div></a><a class="logo" href="en-US/text/shared/05/new_help.html"><p dir="auto">LibreOffice 24.2 Help</p></a><div class="dropdowns"><div class="modules"> <button type="button" data-a11y-toggle="modules-nav" id="modules" aria-haspopup="true" aria-expanded="false" aria-controls="modules-nav">Module</button><nav id="modules-nav" hidden=""></nav> </div></div></header><aside class="leftside"><input id="accordion-1" name="accordion-menu" type="checkbox"><label for="accordion-1" dir="auto">Contents</label><div id="Contents" class="contents-treeview"></div></aside><div id="SearchFrame"><div id="Bookmarks"> <input id="search-bar" type="search" class="search" placeholder="Search in bookmarks for chosen module" dir="auto"><div class="nav-container" tabindex="0"><nav class="index" dir="auto"></nav></div> </div></div> <div id="DisplayArea" itemprop="softwareHelp" itemscope="true" itemtype="http://schema.org/SoftwareApplication"> <a name="bm_id3155411"></a><meta itemprop="keywords" content="formulas,calculating with"> <meta itemprop="keywords" content="calculating, with formulas"> <meta itemprop="keywords" content="examples,formula calculation"> <h1 id="hd_id3155411" dir="auto"> <a name="formulas"></a>Calculating With Formulas </h1> <p id="par_id3156281" class="paragraph" dir="auto">All formulas begin with an equals sign. The formulas can contain numbers, text, arithmetic operators, logic operators, or functions.</p> <div class="tip"> <div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/tip.svg" alt="Tip Icon " style="width:40px;height:40px;"></div> <div class="notetext"><p dir="auto">Remember that the basic arithmetic operators (+, -, *, /) can be used in formulas using the "Multiplication and Division before Addition and Subtraction" rule. Instead of writing =SUM(A1:B1) you can write =A1+B1.</p></div> </div> <br> <div class="tip"> <div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/tip.svg" alt="Tip Icon " style="width:40px;height:40px;"></div> <div class="notetext"><p dir="auto">Parentheses can also be used. The result of the formula =(1+2)*3 produces a different result than =1+2*3.</p></div> </div> <br> <p id="par_id3156285" class="paragraph" dir="auto">Here are a few examples of LibreOffice Calc formulas:</p> <table border="1" class="" cellpadding="0" cellspacing="0"> <tr> <td rowspan="" colspan="" dir="auto"> <p id="par_id3154015" class="paragraphintable" dir="auto">=A1+10</p> </td> <td rowspan="" colspan="" dir="auto"> <p id="par_id3146972" class="paragraphintable" dir="auto">Displays the contents of cell A1 plus 10.</p> </td> </tr> <tr> <td rowspan="" colspan="" dir="auto"> <p id="par_id3145643" class="paragraphintable" dir="auto">=A1*16%</p> </td> <td rowspan="" colspan="" dir="auto"> <p id="par_id3154255" class="paragraphintable" dir="auto">Displays 16% of the contents of A1.</p> </td> </tr> <tr> <td rowspan="" colspan="" dir="auto"> <p id="par_id3146917" class="paragraphintable" dir="auto">=A1 * A2</p> </td> <td rowspan="" colspan="" dir="auto"> <p id="par_id3146315" class="paragraphintable" dir="auto">Displays the result of the multiplication of A1 and A2.</p> </td> </tr> <tr> <td rowspan="" colspan="" dir="auto"> <p id="par_id3154022" class="paragraphintable" dir="auto">=ROUND(A1;1)</p> </td> <td rowspan="" colspan="" dir="auto"> <p id="par_id3150363" class="paragraphintable" dir="auto">Displays the contents of cell A1 rounded to one decimal place.</p> </td> </tr> <tr> <td rowspan="" colspan="" dir="auto"> <p id="par_id3150209" class="paragraphintable" dir="auto">=EFFECTIVE(5%;12)</p> </td> <td rowspan="" colspan="" dir="auto"> <p id="par_id3150883" class="paragraphintable" dir="auto">Calculates the effective interest for 5% annual nominal interest with 12 payments a year.</p> </td> </tr> <tr> <td rowspan="" colspan="" dir="auto"> <p id="par_id3146114" class="paragraphintable" dir="auto">=B8-SUM(B10:B14)</p> </td> <td rowspan="" colspan="" dir="auto"> <p id="par_id3154486" class="paragraphintable" dir="auto">Calculates B8 minus the sum of the cells B10 to B14.</p> </td> </tr> <tr> <td rowspan="" colspan="" dir="auto"> <p id="par_id3152890" class="paragraphintable" dir="auto">=SUM(B8;SUM(B10:B14))</p> </td> <td rowspan="" colspan="" dir="auto"> <p id="par_id3159171" class="paragraphintable" dir="auto">Calculates the sum of cells B10 to B14 and adds the value to B8.</p> </td> </tr> </table> <br> <p id="par_id3150109" class="paragraph" dir="auto">It is also possible to nest functions in formulas, as shown in the example. You can also nest functions within functions. The Function Wizard assists you with nested functions.</p> <a name="relatedtopics"></a><div class="relatedtopics"> <p class="related" itemprop="mentions" dir="auto"><a name="related"></a><span class="emph">Related Topics</span> </p> <div class="relatedbody" itemprop="mentions"> <div class="embedded"><p class="embedded" dir="auto"><a target="_top" href="en-US/text/scalc/guide/formula_enter.html">Entering Formulas</a> </p></div> <p id="par_id3150213" class="paragraph" dir="auto"><a target="_top" href="en-US/text/scalc/01/04060100.html">Functions list</a></p> <p id="par_id3152869" class="paragraph" dir="auto"><a target="_top" href="en-US/text/scalc/01/04060000.html">Function Wizard</a></p> </div> </div> </div> <div id="DonationFrame"></div> <footer><div id="DEBUG" class="debug"> <h3 class="bug">Help content debug info:</h3> <p dir="auto">This page is: <a href="https://opengrok.libreoffice.org/xref/help/source/text/scalc/guide/formulas.xhp" target="_blank">/text/scalc/guide/formulas.xhp</a></p> <p dir="auto">Title is: Calculating With Formulas</p> <p id="bm_module" dir="auto"></p> <p id="bm_system" dir="auto"></p> <p id="bm_HID" dir="auto"></p> </div></footer> </body> </html>