Excel Formula Loop Error

108monkeys

New Member
Joined
Jan 13, 2008
Messages
25
Office Version
  1. 2010
I am trying to use formulae for a calculator which uses a minimum working amount of $30 (see A2:A12) and increments this to 10% once it is over $500. It then calculates returns (F2:F12) based on yes (C2:C12) and/or no (C2:C12).

This works fine when I am using a test balance (G2:G12) to calculate the amount (A2:12) and the dividends (F2:F12) but when I try to change the test balance (G2:G12) as is shown the actual balance values (H2:H12) by adding the result as shown in the formula of the actual balance (I2:I12), the starting value (A2:A12) seems to loop and returns a zero value in the test balance (G2:G12).

How can I use the actual balance even though the amount and return are based on this value?

ExcelFormulaTroubles-1.jpg


Is there a better way of doing this which is Excel friendly?

Hope you can help.

Thanks, Hanuman.

Note: This post has been added again as I was unable to update the above image as it was not showing correct cell references and may possibly be why there was no responce.
<!-- / message -->
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
I found the solution. Error caused by the number of iterations. This allowed for the looping. See the below Excel Help for instructions:
  1. <LI class=LPROC>On the Tools menu, click Options, and then click the Calculation tab. <LI class=LPROC>Select the Iteration check box. <LI class=LPROC>To set the maximum number of times Microsoft Excel will recalculate, type the number of iterations in the Maximum iterations box. The higher the number of iterations, the more time Excel needs to calculate a worksheet.
  2. To set the maximum amount of change you will accept between calculation results, type the amount in the Maximum change box. The smaller the number, the more accurate the result and the more time Excel needs to calculate a worksheet.
Thanks for reading.
 
Upvote 0

Forum statistics

Threads
1,215,477
Messages
6,125,036
Members
449,205
Latest member
Eggy66

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top