diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:51:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:51:28 +0000 |
commit | 940b4d1848e8c70ab7642901a68594e8016caffc (patch) | |
tree | eb72f344ee6c3d9b80a7ecc079ea79e9fba8676d /helpcontent2/source/text/scalc/guide/goalseek.xhp | |
parent | Initial commit. (diff) | |
download | libreoffice-upstream.tar.xz libreoffice-upstream.zip |
Adding upstream version 1:7.0.4.upstream/1%7.0.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'helpcontent2/source/text/scalc/guide/goalseek.xhp')
-rw-r--r-- | helpcontent2/source/text/scalc/guide/goalseek.xhp | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/helpcontent2/source/text/scalc/guide/goalseek.xhp b/helpcontent2/source/text/scalc/guide/goalseek.xhp new file mode 100644 index 000000000..69a77fb33 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/goalseek.xhp @@ -0,0 +1,66 @@ +<?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="textscalcguidegoalseekxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Applying Goal Seek</title> +<filename>/text/scalc/guide/goalseek.xhp</filename> +</topic> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3145068"><bookmark_value>goal seeking;example</bookmark_value> +<bookmark_value>equations in goal seek</bookmark_value> +<bookmark_value>calculating;variables in equations</bookmark_value> +<bookmark_value>variables;calculating equations</bookmark_value> +<bookmark_value>examples;goal seek</bookmark_value> +</bookmark><comment>mw changed "goal seek example" to "goal seeking;"</comment> +<paragraph role="heading" id="hd_id3145068" xml-lang="en-US" level="1"><variable id="goalseek"><link href="text/scalc/guide/goalseek.xhp" name="Applying Goal Seek">Applying Goal Seek</link> +</variable></paragraph> +<paragraph role="paragraph" id="par_id3145171" xml-lang="en-US">With the help of Goal Seek you can calculate a value that, as part of a formula, leads to the result you specify for the formula. You thus define the formula with several fixed values and one variable value and the result of the formula.</paragraph> +<paragraph role="heading" id="hd_id3153966" xml-lang="en-US" level="2">Goal Seek Example</paragraph> +<paragraph role="paragraph" id="par_id3150871" xml-lang="en-US">To calculate annual interest (I), create a table with the values for the capital (C), number of years (n), and interest rate (i). The formula is:</paragraph> +<paragraph role="code" id="par_id3152596" xml-lang="en-US">I = C * n* i</paragraph> +<paragraph role="paragraph" id="par_id3155335" xml-lang="en-US">Let us assume that the interest rate <item type="literal">i</item> of 7.5% and the number of years <item type="literal">n</item> (1) will remain constant. However, you want to know how much the investment capital <item type="literal">C</item> would have to be modified in order to attain a particular return <item type="literal">I</item>. For this example, calculate how much capital <item type="literal">C</item> would be required if you want an annual return of $15,000.</paragraph> +<paragraph role="paragraph" id="par_id3155960" xml-lang="en-US">Enter each of the values for Capital <item type="literal">C</item> (an arbitrary value like <item type="literal">$100,000</item>), number of years <item type="literal">n </item>(<item type="literal">1</item>), and interest rate <item type="literal">i</item> (<item type="literal">7.5%</item>) in one cell each. Enter the formula to calculate the interest <item type="literal">I</item> in another cell. Instead of <item type="literal">C</item>, <item type="literal">n</item>, and <item type="literal">i</item> use the <link href="text/scalc/guide/relativ_absolut_ref.xhp">reference to the cell</link> with the corresponding value.</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3147001" xml-lang="en-US">Place the cursor in the cell containing the interest <item type="literal">I</item>, and choose <emph>Tools - Goal Seek</emph>. The <emph>Goal Seek</emph> dialog appears.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3150088" xml-lang="en-US">The correct cell is already entered in the field <emph>Formula Cell</emph>.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3166426" xml-lang="en-US">Place the cursor in the field <emph>Variable Cell</emph>. In the sheet, click in the cell that contains the value to be changed, in this example it is the cell with the capital value <item type="literal">C</item>.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3150369" xml-lang="en-US">Enter the expected result of the formula in the <emph>Target Value</emph> text box. In this example, the value is 15,000. Click <emph>OK</emph>.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3146978" xml-lang="en-US">A dialog appears informing you that the Goal Seek was successful. Click <emph>Yes</emph> to enter the result in the cell with the variable value.</paragraph> +</listitem> +</list> +<section id="relatedtopics"> +<paragraph role="paragraph" id="par_id3149409" xml-lang="en-US"><link href="text/scalc/01/06040000.xhp" name="Goal Seek">Goal Seek</link></paragraph> +</section> +</body> +</helpdocument> |