libreoffice calc had / has a problem with ‘shared formulas’ randomly blocking autocalculate since years, i think 4.1.6.2 was the last ‘save’ version (it was without ‘shared formulas’).
the problem described by Budi B L is still in 6.4.0.0.a1 for linux x64 if switched to ‘threaded’ calculate mode, may be also in ‘CL’-mode, ‘unthreaded’ looks working correctly.
as the bug appears only randomly it’s often considered fixed while still there but not apparent …
‘hard-recalc’ (ctrl-shift-F9) fixes the erroneous results (in most cases) but cells may stay excluded from autocalculation and produce new faults lateron.
you may find work on it at bugs.libreoffice.org, e.g. bug #123736.
reg.
b.