summaryrefslogtreecommitdiff
path: root/source/text/scalc/01/func_sum.xhp
diff options
context:
space:
mode:
Diffstat (limited to 'source/text/scalc/01/func_sum.xhp')
-rw-r--r--source/text/scalc/01/func_sum.xhp17
1 files changed, 9 insertions, 8 deletions
diff --git a/source/text/scalc/01/func_sum.xhp b/source/text/scalc/01/func_sum.xhp
index ade627b857..cee32e58b9 100644
--- a/source/text/scalc/01/func_sum.xhp
+++ b/source/text/scalc/01/func_sum.xhp
@@ -11,14 +11,14 @@
<meta>
<topic id="calcfuncsum" indexer="include" status="PUBLISH">
- <title id="tit" xml-lang="en-US">SUM Function</title>
+ <title id="tit">SUM Function</title>
<filename>/text/scalc/01/func_sum.xhp</filename>
</topic>
</meta>
<body>
<section id="func_sum">
- <bookmark id="bm_id691636401721449" xml-lang="en-US" branch="hid/SC_HID_FUNC_SUMME" localize="false"/>
- <bookmark xml-lang="en-US" branch="index" id="id431636401649762">
+ <bookmark id="bm_id691636401721449" branch="hid/SC_HID_FUNC_SUMME" localize="false"/>
+ <bookmark branch="index" id="id431636401649762">
<bookmark_value>SUM function</bookmark_value>
<bookmark_value>adding;numbers in cell ranges</bookmark_value>
</bookmark>
@@ -27,14 +27,15 @@
</section>
<embed href="text/scalc/01/ful_func.xhp#func_head_syntax"/>
- <paragraph id="par_id3163656" role="code" xml-lang="en-US">SUM(<embedvar href="text/scalc/01/ful_func.xhp#number255_1" markup="keep"/>)</paragraph>
+ <paragraph id="par_id3163656" role="code">SUM(<embedvar href="text/scalc/01/ful_func.xhp#number255_1" markup="keep"/>)</paragraph>
<embed href="text/scalc/01/ful_func.xhp#number255"/>
<embed href="text/scalc/01/common_func.xhp#datenumbersequencenote"/>
+ <embed href="text/scalc/01/ODFF.xhp#odff"/>
<embed href="text/scalc/01/ful_func.xhp#func_head_example"/>
- <paragraph id="par_id3163704" role="paragraph" xml-lang="en-US"><input>=SUM(2;3;4)</input> returns 9.</paragraph>
- <paragraph id="par_id3151740" role="paragraph" xml-lang="en-US"><item type="input">=SUM(A1;A3;B5)</item> calculates the sum of the three cells.</paragraph>
- <paragraph id="par_id931636109030406" role="paragraph" xml-lang="en-US"><item type="input">=SUM(A1:E10)</item> calculates the sum of all cells in the A1 to E10 cell range.</paragraph>
- <paragraph id="par_id3151756" role="paragraph" xml-lang="en-US">A formula such as <input>=SUM((A1:A40&gt;=C1)*(A1:A40&lt;C2)*B1:B40)</input> may be entered as an <link href="text/scalc/01/04060107.xhp">array formula</link> by pressing the Shift<switchinline select="sys"><caseinline select="MAC">+Command</caseinline><defaultinline>+Ctrl</defaultinline></switchinline>+Enter keys instead of simply pressing the Enter key to finish entering the formula. The formula will then be shown in the Formula bar enclosed in braces and operates by multiplying corresponding elements of the arrays together and returning their sum.</paragraph>
+ <paragraph id="par_id3163704" role="paragraph"><input>=SUM(2;3;4)</input> returns 9.</paragraph>
+ <paragraph id="par_id3151740" role="paragraph"><item type="input">=SUM(A1;A3;B5)</item> calculates the sum of the three cells.</paragraph>
+ <paragraph id="par_id931636109030406" role="paragraph"><item type="input">=SUM(A1:E10)</item> calculates the sum of all cells in the A1 to E10 cell range.</paragraph>
+ <paragraph id="par_id3151756" role="paragraph">A formula such as <input>=SUM((A1:A40&gt;=C1)*(A1:A40&lt;C2)*B1:B40)</input> may be entered as an <link href="text/scalc/01/04060107.xhp">array formula</link> by pressing the Shift<switchinline select="sys"><caseinline select="MAC">+Command</caseinline><defaultinline>+Ctrl</defaultinline></switchinline>+Enter keys instead of simply pressing the Enter key to finish entering the formula. The formula will then be shown in the Formula bar enclosed in braces and operates by multiplying corresponding elements of the arrays together and returning their sum.</paragraph>
<section id="relatedtopics">
<tip id="par_id771677014538669"><link href="https://wiki.documentfoundation.org/Documentation/Calc_Functions/SUM">SUM wiki page</link>.</tip>