[Libreoffice-bugs] [Bug 111675] New: UI: Functions IFS does not work together with function CURRENT
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Aug 10 23:57:01 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=111675
Bug ID: 111675
Summary: UI: Functions IFS does not work together with function
CURRENT
Product: LibreOffice
Version: 5.3.3.2 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Calc
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: michaelof at rocketmail.com
Description:
Using Function IFS and CURRENT within Test expressions leads to not
comprehensible results.
Target/background: A cell (referencing whatever, e.g. COUNTIF etc.) should have
a STYLE() applied, depending on another cell's value, e.g. a treshold in a real
life example
Works with nested if, does NOT WORK with IFS. Example uploaded.
Steps to Reproduce:
All in uploaded "SampleSTYLE.ods":
Both ref value B2 and Treshold value B3 are the same, e.g. 4
Actual Results:
(B5) =B2+STYLE(IFS(CURRENT()<B3;"Grün";CURRENT()=B3;"Gelb";CURRENT()>B3;"Rot"))
leads to 4 with "Rot" = RED, wrong as CURRENT()=B3 is TRUE!
(B6)
=B2+STYLE(IF(CURRENT()<B3;"Grün";IF(CURRENT()=B3;"Gelb";IF(CURRENT()>B3;"Rot"))))
leads to 4 with "Gelb" = YELLOW, correct.
Expected Results:
IFS should be able to work in combination with CURRENT
Reproducible: Always
User Profile Reset: No
Additional Info:
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
Firefox/52.0
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170810/4e9d2077/attachment.html>
More information about the Libreoffice-bugs
mailing list