+ Reply to Thread
Results 1 to 12 of 12

Formula contains a circular reference

  1. #1
    Registered User
    Join Date
    07-27-2012
    Location
    South Africa
    MS-Off Ver
    Excel 365
    Posts
    44

    Formula contains a circular reference

    Hi there

    Please can you help me with my formula. I've attached the image that says it contains a circular reference. What is wrong with my formula and what can I use to make it work? It works perfectly until I try add -GP amount to the formula.
    Attached Images Attached Images

  2. #2
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Formula contains a circular reference

    Is hard to help if you just upload an image files.

    Post a WORKBOOK. Nobody wants to type data from a picture or paste text from your post into a spreadsheet as a prelude to helping. To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.
    -If the problem is solved, please mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved".

    -Always upload a workbook before start your question
    To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.

    +++ If my answer(s) helped you, please add me reputation by click on * +++

  3. #3
    Registered User
    Join Date
    07-27-2012
    Location
    South Africa
    MS-Off Ver
    Excel 365
    Posts
    44

    Re: Formula contains a circular reference

    I can't because the sheet is linked to other sheets etc and it contains confidential information so I can't post the whole book

  4. #4
    Registered User
    Join Date
    07-27-2012
    Location
    South Africa
    MS-Off Ver
    Excel 365
    Posts
    44

    Re: Formula contains a circular reference

    The formula currently says:

    =IF(ISBLANK(D19),"",T19/(1-$S$15))

    Now I want to add in -O19 to remove discount?

  5. #5
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Formula contains a circular reference

    Then what is your O19 formula?
    A workbook can tell more, you can remove those confidential information, just upload a sample will be better.

    Or this link can help you?
    http://office.microsoft.com/en-us/ex...010342831.aspx

  6. #6
    Registered User
    Join Date
    07-27-2012
    Location
    South Africa
    MS-Off Ver
    Excel 365
    Posts
    44

    Re: Formula contains a circular reference

    Not sure if this will work but I copied and pasted the sheet into a new workbook....
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    07-27-2012
    Location
    South Africa
    MS-Off Ver
    Excel 365
    Posts
    44

    Re: Formula contains a circular reference

    Basically what I'm asking J19 to do is take cost price, add the 20%GP and then subtract O19 which is the discount amount. But if D19 is blank then it mustn't calculate - what I don't want when I drag the formula down is it to show #VALUE or error values.

  8. #8
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Formula contains a circular reference

    Try this if this work for you.
    Excel Options > Formulas > Enable Iterative Calculation

    In the Calculation options section, select the Enable iterative calculation check box.
    To set the maximum number of times that Excel will recalculate, type the number of iterations in the Maximum Iterations box. The higher the number of iterations, the more time that Excel needs to calculate a worksheet.
    In the Maximum Change box, type the smallest value required for iteration to continue. The smaller the number, the more precise the result and the more time that Excel needs to calculate a worksheet.
    An iterative calculation can have three outcomes:

    The solution converges, which means a stable end result is reached. This is the desirable condition.
    The solution diverges, which means that from iteration to iteration, the difference between the current and the previous result increases.
    The solution switches between two values. For example, after the first iteration the result is 1, after the next iteration the result is 10, after the next iteration the result is 1, and so on.

  9. #9
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Formula contains a circular reference

    If you don't wish allow that.
    You maybe create another column call Unit Price Discount =J19-O19
    Or, calculate the discount the discount in Total column =IF(ISBLANK(D19),"",J19-O19*C19)

  10. #10
    Registered User
    Join Date
    07-27-2012
    Location
    South Africa
    MS-Off Ver
    Excel 365
    Posts
    44

    Re: Formula contains a circular reference

    Thanks, it sounds a bit complicated. Is there no other way to just make the formula work?

  11. #11
    Registered User
    Join Date
    07-27-2012
    Location
    South Africa
    MS-Off Ver
    Excel 365
    Posts
    44

    Re: Formula contains a circular reference

    OK thanks let me try that

  12. #12
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Formula contains a circular reference

    because your formula is depend each other.
    i will suggest you use the solution in post #9.

+ 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 formula
    By ddv13 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-26-2013, 06:38 PM
  3. 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
  4. Replies: 1
    Last Post: 08-21-2007, 07:22 PM
  5. Circular Reference Formula Help
    By acebrown in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-21-2006, 08:25 PM

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