| 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>Entering 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_id3150868"></a><meta itemprop="keywords" content="formula bar, input line"> <meta itemprop="keywords" content="input line in formula bar"> <meta itemprop="keywords" content="formulas, inputting"> <meta itemprop="keywords" content="inserting,formulas"> <h1 id="hd_id3150868" dir="auto"> <a name="formula_enter"></a>Entering Formulas </h1> <p id="par_id6848353" class="paragraph" dir="auto">You can enter formulas in several ways: using the icons, or by typing on the keyboard, or by a mixture of both methods.</p> <ol itemprop="HowTo" itemscope="true" itemtype="http://schema.org/HowToSection" dir="auto"> <li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/HowToStep" dir="auto"> <p id="par_id3145364" class="listitem" dir="auto">Click the cell in which you want to enter the formula.</p> </li> <li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/HowToStep" dir="auto"> <p id="par_id3150012" class="listitem" dir="auto">Click the <span class="emph">Formula</span> icon on the Formula Bar.</p> <p id="par_id3156441" class="listitem" dir="auto">You will now see an equals sign in the input line and you can begin to input the formula.</p> </li> <li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/HowToStep" dir="auto"> <p id="par_id3153726" class="listitem" dir="auto">After entering the required values, press Enter or click <span class="emph">Accept</span> to insert the result in the active cell. If you want to clear your entry in the input line, press Escape or click <span class="emph">Cancel</span>.</p> </li> </ol> <p id="par_id3147394" class="paragraph" dir="auto">You can also enter the values and the formulas directly into the cells, even if you cannot see an input cursor. Formulas must always begin with an equals sign.</p> <p id="par_id4206976" class="paragraph" dir="auto">You can also press the + or - key on the numerical keyboard to start a formula. NumLock must be "on". For example, press the following keys in succession:</p> <p id="par_id1836909" class="code" dir="auto">+ 5 0 - 8 Enter</p> <p id="par_id8171330" class="paragraph" dir="auto">You see the result <span class="literal">42</span> in the cell. The cell contains the formula <span class="literal">=+50-8</span>.</p> <div class="note"> <div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/note.svg" alt="Note Icon " style="width:40px;height:40px;"></div> <div class="notetext"><p dir="auto">If you are editing a formula with references, the references and the associated cells will be highlighted with the same color. You can now resize the reference border using the mouse, and the reference in the formula displayed in the input line also changes. <span class="emph">Show references in color</span> can be deactivated under <span id="swlnsystextscalcguideformula_enterxml_1" class="switchinline"><span hidden="true" id="MACtextscalcguideformula_enterxml_1" class="MAC">LibreOffice - Preferences</span><span hidden="true" id="defaulttextscalcguideformula_enterxml_1">Tools - Options</span></span> - <a target="_top" href="en-US/text/shared/optionen/01060300.html">LibreOffice Calc - View</a>.</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"><a name="tip"></a>If you would like to view the calculation of individual elements of a formula, select the respective elements and press F9. For example, in the formula =SUM(A1:B12)*SUM(C1:D12) select the section SUM(C1:D12) and press F9 to view the subtotal for this area. </p></div> </div> <br> <p id="par_id3150304" class="paragraph" dir="auto">If an error occurs when creating the formula, an <a target="_top" href="en-US/text/scalc/05/02140000.html">error message</a> appears in the active cell.</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/formulas.html">Calculating With Formulas</a> </p></div> <p id="par_id3152993" class="paragraph" dir="auto"><a target="_top" href="en-US/text/scalc/main0206.html">Formula bar</a></p> <div class="embedded"><p class="embedded" dir="auto"><a target="_top" href="en-US/text/scalc/guide/cell_enter.html">Entering Values</a> </p></div> <div class="embedded"><p class="embedded" dir="auto"><a target="_top" href="en-US/text/scalc/guide/multitables.html">Applying Multiple Sheets</a></p></div> <div class="embedded"><p class="embedded" dir="auto"><a target="_top" href="en-US/text/scalc/guide/multi_tables.html">Navigating Through Sheet Tabs</a></p></div> </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/formula_enter.xhp" target="_blank">/text/scalc/guide/formula_enter.xhp</a></p> <p dir="auto">Title is: Entering 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>