https://bugs.documentfoundation.org/show_bug.cgi?id=119033

            Bug ID: 119033
           Summary: ADDRESS function >> result of calculation is displayed
                    instead of #VALUE! error if "ABS" argument is value in
                    range from 5 to 8
           Product: LibreOffice
           Version: 6.0.6.1 rc
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: dp060593...@gmail.com

Description:
According to specification: Abs determines the type of reference:
1: absolute ($A$1)
2: row reference type is absolute; column reference is relative (A$1)
3: row (relative); column (absolute) ($A1)
4: relative (A1)

It should not give result in case, when abs=5..8

Steps to Reproduce:
1. Run LibreOffice calc
2. Enter following formulas to any cell:
=ADDRESS(1, 1, 5)
=ADDRESS(1, 1, 6)
=ADDRESS(1, 1, 7)
=ADDRESS(1, 1, 8)
3. Apply and observe result

Actual Results:
Calculation result is displayed:
abs=5 - absolute ($A$1)
abs=6 - row reference type is absolute; column reference is relative (A$1)
abs=7 - row (relative); column (absolute) ($A1)
abs=8 - relative (A1)

Expected Results:
#VALUE! error


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 6.0.6.1 (x64)
Build ID: dc68ad6c5cde3c62874b96422f2e5e8252499bad
CPU threads: 4; OS: Windows 10.0; UI render: default; 
Locale: en-US (en_US); Calc: CL

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to