+ Reply to Thread
Results 1 to 2 of 2

Getting values using my iterative calculations

  1. #1
    Registered User
    Join Date
    10-16-2017
    Location
    Charlotte
    MS-Off Ver
    2016
    Posts
    31

    Getting values using my iterative calculations

    I have attached an excel file as well as a word document with some formulas. The excel file I have attached is a condensed version of the original and in order to get back to the original, on Sheet1, you need to select A3 to CZ2001 and use the fill feature to fill down.

    Next you need to copy the first array formula, that has a summation, from the word document into Sheet1!BW2001. Then you need to use the fill feature to fill right from BW2001 to CB2001, in sheet1. Next you need to copy the second array formula, that has a summation, from the word document into Sheet1!CC2001. After that you need to use the fill feature to fill right from CC2001 to CH2001, in sheet1. Then you need to copy the third array formula, that has a summation, from the word document into Sheet1!CI2001. Next you need to use the fill feature to fill right from CI2001 to CN2001. Also make sure you have Iterative Calculations enabled as in my original excel document I have iterative calculations enabled and the question I am about to ask involves iterative calculations.

    I tried selecting BW2000 to CN2001 and using the fill feature to fill up but I got an error message in the form of #NUM! in all the cells involved in the group of iterative calculations when I did that, so I undid that as it's impossible to get ride of an error message in a group of iterative calculations without redoing the entire group of iterative calculations. I want to select from BW2 to CN2001 and use the fill feature to fill up but I'm not sure how to get actual values as opposed to an error message doing that. How do get values when I fill the formulas in columns BW to CN from row 2001 up to row 2, and get values from the formulas involving iterative calculations?

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,436

    Re: Getting values using my iterative calculations

    so I undid that as it's impossible to get ride of an error message in a group of iterative calculations without redoing the entire group of iterative calculations.
    Without trying to be too contrary, but I don't find it impossible to get rid of such an error message, but you do need to put some thought into what the formula should do if/when it encounters an error. For serious circular reference/iterative calculation examples, I always include some kind of "reset" for the loop if it should encounter an error -- usually in the form of an IFERROR() function.

    My main example thread, including examples of how I used the IFERROR() function to reset when an error is encountered: https://www.excelforum.com/tips-and-...ind-roots.html

    See how I nested the main circular reference function inside of an IFERROR() function (step 2 of post #3) to reset the loop to 0 if it should encounter an error in this example: https://www.excelforum.com/excel-for...ate-value.html

    I apologize for being too lazy to dig deep into those massive formulas you are using for this, so I cannot say where a "reset" IFERROR() could/should be incorporated. At this point, I would study your formulas and the circular logic you are using and identify which values/computations will be convenient for providing a reset point in the loop. Then identify what would be a good "default value" to introduce into the calculation at that point. Then use an IFERROR() (or other decision construct) to identify the error and introduce a good default value when an error is encountered.
    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: 1
    Last Post: 09-20-2017, 05:10 PM
  2. Iterative Formula Calculations with Randomly Generated Variable Values
    By Muradi101 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-05-2017, 10:26 AM
  3. Problem with complicated iterative calculations
    By saaadi1616 in forum Excel General
    Replies: 3
    Last Post: 03-27-2017, 11:13 AM
  4. Iterative calculations
    By MuhammadZiaUrRehman in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-18-2016, 08:00 AM
  5. Checking the minimum of iterative calculations:
    By rajeshrajagopal in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-07-2016, 07:17 AM
  6. Replies: 4
    Last Post: 12-10-2012, 06:22 PM
  7. Fixing a divide by 0 error with iterative calculations
    By jrm0523 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-20-2012, 02:30 PM

Tags for this Thread

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