Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spreadsheet: Stable circular definitions aren't errors #13735

Open
water-ghosts opened this issue Apr 18, 2022 · 2 comments
Open

Spreadsheet: Stable circular definitions aren't errors #13735

water-ghosts opened this issue Apr 18, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@water-ghosts
Copy link
Contributor

  • In cell A0, type a literal number (e.g. 5).
  • In cell A1, type the formula =A0.
  • Edit cell A0 to use the formula =A1.

Despite the circular reference, both cells still have the value 5:

circular1
circular2

If the circular definition isn't stable (e.g. A1 = A0 + 1 instead of A1 = A0), both cells instead get the value NaN:

unstable

In contrast, Google Sheets treats all circular definitions as errors:

circular3

This is arguably a feature, not a bug. If this is intended behavior, feel free to close this issue!

@Diogenes31
Copy link
Contributor

I agree that it's a bug, I think that could create some very easy to miss errors in a spreadsheet that could cause much headache.

@kleinesfilmroellchen kleinesfilmroellchen added the bug Something isn't working label Apr 23, 2022
@kleinesfilmroellchen
Copy link
Collaborator

This does indeed look like a bug, though we want @alimpfard 's opinion here. We should display a custom error instead imho.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants