Share via

Iterative calculation to allow circular reference

Anonymous
2024-03-28T10:51:33+00:00

Hi,

I have created an excel file whereby i needed to enable iterative calculation with required parameters to allow for circular reference in my excel file but still getting error "#NUM!|

Can someone please help?

Microsoft 365 and Office | Excel | For business | Android

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

10 answers

Sort by: Most helpful
  1. Anonymous
    2024-03-29T15:13:04+00:00

    There is no way I can make sense of that endless chain of references, sorry. I gave up after backtracking over 50 times.

    I understand your frustration. I find 150 cells with #NUM errors.

    But I find only 6 chains of circ refs, to wit:

    D284 > D41 > D40 > D37 > D410 > D396 > D284

    D681 > D438 > D437 > D434 > D807 > D797 > D793 > D681

                                                                     v
    
                                                                 D807
    

    C284 > C41 > C40 > C37 > C410 > C396 > C284

    C681 > C438 > C437 > C434 > C807 > C797 > C793 > C681

                                                                     v
    
                                                                 C807
    

    FYI, to find these, I open the file in Manual Calculation mode (*), and I disable Iterative Calculation mode.

    Then for each chain of circ refs, I click Calculate Sheet, and I use Error Checking > Circ Refs to see each chain.

    After I discover each chain, I break it in order to find the next chain.

    Breaking a chain simply requires removing the reference to the "next" cell in the chain. For example, in D284, delete the formula =D41.

    In D797, I remove "+D807". Similarly in C797.


    (*) To open the file in Manual Calculation mode, I start Excel with a new worksheet, set Manual Calculation mode, then open the user's file in the same instance of Excel.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Andreas Killer 144.1K Reputation points Volunteer Moderator
    2024-03-29T10:56:17+00:00

    IMHO this is an issue inside the formula model. Most formulas are pretty basic and use +-*/ as operator.

    But some uses LN and LN(0) returns the #NUM! error.

    And there are a lot of formulas that refers to empty cells, means this cells are evaluated to 0 by the engine.

    Anywhere there is the issue.

    Open the file, select C41 and press DEL, as your see many errors are gone. Press CTRL+Z to restore the formula and the errors doesn't come back.

    The question is where can we break the chain to reset all the errors... I don't know.

    Andreas.

    Was this answer helpful?

    0 comments No comments
  3. HansV 462.6K Reputation points
    2024-03-29T10:31:17+00:00

    Thanks.

    There is no way I can make sense of that endless chain of references, sorry. I gave up after backtracking over 50 times.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2024-03-29T05:26:20+00:00

    Hi Hans,

    thx a lot for your reply.

    Here is the link to Drop Box.

    https://www.dropbox.com/scl/fi/qdw8i5qvesk95m1syxlx7/Circular-Reference-with-Iterative-Process.xlsx?rlkey=lptboa6gxwd93wckw7jxgtzaq&dl=0

    Tell me if you have received it please.

    Best Regards

    JF

    Was this answer helpful?

    0 comments No comments
  5. HansV 462.6K Reputation points
    2024-03-28T11:15:52+00:00

    Could you create a stripped-down copy of the workbook demonstrating the problem (without sensitive information) and make it available through one of the websites that let you upload and share a file, such as OneDrive, Google Drive, FileDropper or DropBox. Then post a link to the uploaded and shared file here.

    Was this answer helpful?

    0 comments No comments