source/text/scalc/01/func_sumif.xhp |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 2487e71ba257e1115eda0cab2d86186845b07239
Author:     Julien Nabet <serval2...@yahoo.fr>
AuthorDate: Sun Apr 20 17:03:16 2025 +0200
Commit:     Olivier Hallot <olivier.hal...@libreoffice.org>
CommitDate: Sun Apr 20 18:30:06 2025 +0200

    Related tdf#166251 Use ";" for separator in SUMIF function
    
    Change-Id: Iccec35b9eb3d0f783d73dc7ea63bb9407deb51dd
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/184388
    Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>
    Tested-by: Jenkins

diff --git a/source/text/scalc/01/func_sumif.xhp 
b/source/text/scalc/01/func_sumif.xhp
index 2e92efcca9..c04eb5ad64 100644
--- a/source/text/scalc/01/func_sumif.xhp
+++ b/source/text/scalc/01/func_sumif.xhp
@@ -40,20 +40,20 @@
     <embed href="text/scalc/01/ful_func.xhp#func_head_example"/>
     <embed href="text/scalc/01/ex_data_stat_func.xhp#ex_func_average"/>
     <h4 id="hd_id451710857799382">Simple usage</h4>
-    <paragraph role="paragraph" 
id="par_id171711049202378"><input>=SUMIF(C2:C6,"&gt;=100")</input></paragraph>
+    <paragraph role="paragraph" 
id="par_id171711049202378"><input>=SUMIF(C2:C6;"&gt;=100")</input></paragraph>
     <paragraph role="paragraph" id="par_id381711049216331">Sums only the 
values from range C2:C6 that are &gt;=100. Returns 370 because cells C2:C3 do 
not meet the criterion. The values from Range are summed because no SumRange is 
given.</paragraph>
-    <paragraph id="par_id6670125" 
role="paragraph"><input>=SUMIF(B2:B5,"&gt;=20",C2:C6)</input></paragraph>
+    <paragraph id="par_id6670125" 
role="paragraph"><input>=SUMIF(B2:B5;"&gt;=20";C2:C6)</input></paragraph>
     <paragraph role="paragraph" id="par_id341710857230552">Sums values from 
the range B2:B6 only if the corresponding values in the range A1:A5 are 
&gt;=20. Returns 340 because the fifth and sixth rows do not meet the 
criterion.</paragraph>
     <h4 id="hd_id291710867590698">Using regular expressions</h4>
-    <paragraph role="paragraph" 
id="par_id911710859836541"><input>=SUMIF(A2:A6,"pen",C2:C5)</input></paragraph>
+    <paragraph role="paragraph" 
id="par_id911710859836541"><input>=SUMIF(A2:A6;"pen";C2:C5)</input></paragraph>
     <paragraph role="paragraph" id="par_id31710859838046">Sums values from the 
range C2:C6 only if the corresponding range in A2:A6 exactly match the letters 
"pen". Returns 85 because rows A2 and A4:A6 do not meet the 
criterion.</paragraph>
-    <paragraph role="paragraph" 
id="par_id781710871590769"><input>=SUMIF(A2:A6,"pen*",C2:C6)</input></paragraph>
+    <paragraph role="paragraph" 
id="par_id781710871590769"><input>=SUMIF(A2:A6;"pen*";C2:C6)</input></paragraph>
     <paragraph role="paragraph" id="par_id431710871624405">Sums the values 
from the range C2:C6 only if the corresponding cell in range A2:A6 contains the 
letters "pen". Returns the value 150 because rows A4:A5 do not meet the 
criterion.</paragraph>
-    <paragraph role="paragraph" 
id="par_id311711128230771"><input>=SUMIF(ProductName,"pen*",Revenue)</input></paragraph>
+    <paragraph role="paragraph" 
id="par_id311711128230771"><input>=SUMIF(ProductName;"pen*";Revenue)</input></paragraph>
     <paragraph role="paragraph" id="par_id741711128545751">A named range can 
be given as the Range or SumRange parameter. For example, if the columns in the 
above table are respectively named "ProductName", "Sales", and "Revenue", the 
function returns 150. This function will only work as described if you have 
defined the names of the columns using the <link 
href="text/scalc/01/04070100.xhp#definenames)">Define Names</link> 
dialog.</paragraph>
     <h4 id="hd_id531711029933195">Reference to a cell as a criterion</h4>
     <paragraph role="paragraph" id="par_id561711031254255">If you need to 
change a criterion easily, you may specify it in a separate cell and use a 
reference to this cell in the condition of the SUMIF function. For 
example:</paragraph>
-    <paragraph role="paragraph" 
id="par_id331711030450765"><input>=SUMIF(A2:A6,E2,C2:C6)</input></paragraph>
+    <paragraph role="paragraph" 
id="par_id331711030450765"><input>=SUMIF(A2:A6;E2;C2:C6)</input></paragraph>
     <paragraph role="paragraph" id="par_id11711031541218">If E2 = pen, the 
function returns 85 because the link to the cell is substituted with its 
contents.</paragraph>
 </section>
  <section id="relatedtopics">

Reply via email to