Description: 1 0 Err:504 =BASE(1,14) =COUNTIF(A1,"vv") =COUNTIF(BASE(1,14),"vv") See attached spreadsheet Steps to Reproduce: See attached spreadsheet Actual Results: See attached spreadsheet Expected Results: A3 should be 0 not Err:504 Reproducible: Always User Profile Reset: Yes Additional Info: Version: 7.0.2.2 (x64) Build ID: 8349ace3c3162073abd90d81fd06dcfb6b36b994 CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win Locale: en-GB (en_GB); UI: en-GB Calc: threaded
Created attachment 166372 [details] Demonstates bug 137488
From my perspective not a bug. Function COUNTIF() requires a range [1] as first argument and BASE doesn't provide a range but text [2]. =COUNTIF(A1,"vv") counts occurrences of "vv" in cell *A1*, but where should =COUNTIF(BASE(1,14),"vv") search for? [1] https://help.libreoffice.org/latest/en-US/text/scalc/01/04060181.html?DbPAR=CALC#bm_id3164897 [2] https://help.libreoffice.org/latest/en-US/text/scalc/01/04060110.html?DbPAR=CALC#bm_id3153072