Bug 128911 - example in help page of SUMIF has typo and, thus, leads to an error
Summary: example in help page of SUMIF has typo and, thus, leads to an error
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: low trivial
Assignee: Olivier Hallot
URL:
Whiteboard: target:6.4.0.1
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-20 09:54 UTC by Meigel
Modified: 2019-11-21 18:19 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Meigel 2019-11-20 09:54:18 UTC
In the help pages the second example for function SUMIF has a typo which causes an error.
English help page: https://help.libreoffice.org/6.3/en-US/text/scalc/01/04060106.html?DbPAR=CALC#bm_id3151957
German help page: https://help.libreoffice.org/6.3/de/text/scalc/01/04060106.html?DbPAR=CALC#bm_id3151957
It also affects the local help, which can be installed along LibreOffice.

The example
=SUMIF(A1:A10;">0";B1:10)
leads to "Error:502".
The second range should by fixed by adding the missing "B"
=SUMIF(A1:A10;">0";B1:B10)
to make it work.


The typo also occurs in the older wiki help at
https://help.libreoffice.org/Calc/Mathematical_Functions#Example_54
https://help.libreoffice.org/Calc/Mathematical_Functions/de#Beispiel_54


It seems that more localized versions of the help pages are affected.
Comment 1 Meigel 2019-11-20 10:03:52 UTC
The line to fix the bundled LibreOffice help and the online help is:
https://github.com/LibreOffice/help/blob/ccdc4ebe207ab439f424a64887ba3f3d0f87e9d8/source/text/scalc/01/04060106.xhp#L1175
Comment 2 Commit Notification 2019-11-21 18:19:01 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "libreoffice-6-4":

https://git.libreoffice.org/help/commit/69ff0a1d2a16290e9d1549dd6bf3049cf0ad719e

tdf#128911 typo in formula SUMIF.