+ Reply to Thread
Results 1 to 4 of 4

Help with a possible circular reference

  1. #1
    Registered User
    Join Date
    02-03-2017
    Location
    Houston, TX
    MS-Off Ver
    365
    Posts
    2

    Help with a possible circular reference

    I have a general question about excel that is a little complicated to explain so I'm going to try my best. This is something I've been doing for years and have always thought that there has to be a better way. What I am trying to do is manipulate the value of cell a IN CELL A. Of course if I do this I get a circular error. I'm trying to figure out a work around and I can't imagine that I am the only person who thought the correct way of doing this is far too inefficient.

    cell a cell b
    VALUE manipulation of cell a

    After manipulating the value of cell a in cell b, I have to copy and paste the value of cell b in cell b to write over the formula
    Then I do a cell a = cell b formula
    then I copy and paste the new value of cell a in cell a
    then I can safely delete cell b

    Is there a better way other than writing a macro?

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Help with a possible circular reference


    So, you want cell A to reference cell B?
    Do you want cell A to always have the value of cell B in it, or just maintain the last value that was in B?
    You say you write over the formula in cell B...what is the formula?

    Maybe show or post an example?
    Last edited by gmr4evr1; 02-03-2017 at 08:48 PM.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Help with a possible circular reference

    There is no formula way to get around a circ ref error, you simply cannot have 2 cells dependent on each other, and not get a circ ref error. At best, you can set iterations (the number of times excel goes through that loop), but you will still have the error
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819

    Re: Help with a possible circular reference

    I agree with gmr4vr -- a real example of what you are trying to do would be most helpful.

    I frequently use circular references/iteration to solve problems. When I do, I am using well defined algorithms such as the Newton-Raphson method for finding roots (http://www.excelforum.com/showthread.php?t=1111494 ) or a successive approximations algorithm. Circular reference/iteration works well for these kind of algorithms (when they converge quickly).

    Your description of your problem sounds like it only requires a single iteration, which will be hard to control in Excel. I know that people despise helper cells, but, if 1 iteration is really all that is needed, I would think it would be easier to add a 3rd cell to the mix. You already have ainitial, and a formula for b based on ainitial. I would probably add a 3rd cell (remember that you have millions of cells at your disposal) to calculate afinal based on b, and not bother writing that value back into ainitial.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 02-23-2014, 06:06 PM
  2. circular reference
    By eladkroy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-26-2013, 11:31 AM
  3. Circular reference
    By Bugsy1966 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-23-2013, 03:40 AM
  4. Circular Reference
    By josros6074 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-14-2013, 11:56 AM
  5. Circular Reference
    By chemeng123 in forum Excel General
    Replies: 2
    Last Post: 03-28-2012, 12:58 PM
  6. Circular Reference when formulas reference end of row formula!
    By Spellbound in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-29-2009, 08:26 AM
  7. Replies: 1
    Last Post: 08-21-2007, 07:22 PM
  8. Circular reference
    By Pat in forum Excel General
    Replies: 3
    Last Post: 01-19-2005, 02:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1