Bug 159031 - Calc "IF" statement incorrect value return when higher than column "N" input entered.
Summary: Calc "IF" statement incorrect value return when higher than column "N" input ...
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.4.0.3 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-04 23:22 UTC by fl2r4
Modified: 2024-01-06 13:50 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 fl2r4 2024-01-04 23:22:46 UTC
Description:
Using Calc on a large spreadsheet "IF" formula will return "#VALUE!" when column used in formula is greater than column "N".

example: =IF(N42>0,N42-N41,"") will return correct value if N42 has a value greater than 0 and a blank if 0.

example: =IF(O42>0,O42-O41,"") will return correct value if O42 has a value greater than 0 but will return #VALUE! if O42 is 0.

This seems to be true for all columns "O" and greater.

Steps to Reproduce:
1.use "IF" statement
2. reference column "O" or higher 
3. use "" for a blank return as last part of formula

Actual Results:
See description for results

Expected Results:
Should be a blank return if the input value is 0


Reproducible: Always


User Profile Reset: No

Additional Info:
cdeefe4 Version 7.5.9.2, tag libreoffice-7.5.9.2 by Xisco Fauli ยท
Comment 1 fl2r4 2024-01-04 23:24:33 UTC
This bug has been in the last several releases.
Comment 2 ady 2024-01-05 02:02:37 UTC
Not repro (and most probably NAB/INVALID).

Rather than a bug report, this seems an issue to be posted at <https://ask.libreoffice.org>. At any rate, they will probably need you to attach the spreadsheet file, to be publicly available.
Comment 3 Julien Nabet 2024-01-06 13:50:57 UTC
On pc Debian x86-64, I don't reproduce this with LO Debian package 7.6.4.1.

Do you reproduce this on a brand new ods file and after having applied https://wiki.documentfoundation.org/QA/FirstSteps#Corrupted_user_profile ?