66 lines
3.3 KiB
XML
66 lines
3.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<helpdocument version="1.0">
|
|
<!--
|
|
* This file is part of the LibreOffice project.
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*
|
|
* This file incorporates work covered by the following license notice:
|
|
*
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
* with this work for additional information regarding copyright
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
* except in compliance with the License. You may obtain a copy of
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
-->
|
|
|
|
<meta>
|
|
<topic id="textswriterguidecalculate_intextxml" indexer="include" status="PUBLISH">
|
|
<title id="tit" xml-lang="en-US">Calculating Complex Formulas in Text Documents</title>
|
|
<filename>/text/swriter/guide/calculate_intext.xhp</filename>
|
|
</topic>
|
|
</meta>
|
|
|
|
<body>
|
|
|
|
<bookmark xml-lang="en-US" branch="index" id="bm_id3147406">
|
|
<bookmark_value>formulas; complex formulas in text</bookmark_value>
|
|
<bookmark_value>calculating;formulas/mean values</bookmark_value>
|
|
</bookmark>
|
|
<comment>mw reduced "calculating;" entries to one entry</comment>
|
|
|
|
<h1 id="hd_id3147406"><variable id="calculate_intext"><link href="text/swriter/guide/calculate_intext.xhp">Calculating Complex Formulas in Text Documents</link></variable></h1>
|
|
<paragraph id="par_id3145245" role="paragraph" xml-lang="en-US">You can use predefined functions in a formula, and then insert the result of the calculation into a text document.</paragraph>
|
|
<paragraph id="par_id3152901" role="paragraph" xml-lang="en-US">For example, to calculate the mean value of three numbers, do the following:</paragraph>
|
|
|
|
<list type="ordered">
|
|
<listitem>
|
|
<paragraph id="par_id3145078" role="listitem" xml-lang="en-US">Click in the document where you want to insert the formula, and then press F2.</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph id="par_id3156382" role="listitem" xml-lang="en-US">Click the <item type="menuitem">Formula</item> icon, and choose "Mean" from the Statistical Functions list.</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph id="par_id3149692" role="listitem" xml-lang="en-US">Type the three numbers, separated by vertical slashes (|).</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph id="par_id3149481" role="listitem" xml-lang="en-US">Press <emph>Enter</emph>. The result is inserted as a field into the document.</paragraph>
|
|
</listitem>
|
|
</list>
|
|
<paragraph id="par_id3149823" role="paragraph" xml-lang="en-US">To edit the formula, double-click the field in the document.</paragraph>
|
|
|
|
<section id="relatedtopics">
|
|
<embed href="text/swriter/guide/calculate_intext2.xhp#calculate_intext2"/>
|
|
<embed href="text/swriter/main0214.xhp#releistename"/>
|
|
<embed href="text/swriter/guide/calculate.xhp#calculate"/>
|
|
<embed href="text/swriter/guide/calculate_clipboard.xhp#calculate_clipboard"/>
|
|
<embed href="text/swriter/guide/calculate_intable.xhp#calculate_intable"/>
|
|
<embed href="text/swriter/guide/calculate_multitable.xhp#calculate_multitable"/>
|
|
</section>
|
|
</body>
|
|
|
|
</helpdocument>
|