The best way to explain my problem is to show the results of 2 different formulas:
=IF(NA();1;2)
Result: #N/A as expected
=IF(NA();1;IFERROR(NA();2))
Result: 2
Shouldn’t the NA() as the first parameter propagate? Why does it still evaluate the “On false” parameter in the second formula?
Version information:
Version: 7.2.4.1 / LibreOffice Community
Build ID: 20(Build:1)
CPU threads: 16; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb)
Locale: nl-NL (en_US.UTF-8); UI: en-US
7.2.4-1
Calc: threaded
Background: I created a basic formula evaluator and was verifying whether the cell output of a big spreadsheet I use is the same between LibreOffice Calc and my formula evaluator, and found this. In this specific case I don’t understand how it’s supposed to work, so I can’t make them produce the same results.
Thanks in advance!