Workaround Formula to prevent Circular Reference Error

irfananeeza

Active Member
Joined
Feb 15, 2008
Messages
334
Office Version
  1. 2010
Hi,
I am looking for a formula solution.
Problem: I want to balance cell B5 with B14. I use formula =IF(B5>B14,B5-B14). I want the formula to put the resulting value within cell B13 as shown in cell B13 in red color and formula to update cell A13 value as "Due To". The total for cell BI4 should be updated to "6". =IF(B5<B14, B5-B14), then I want formula to put the resulting value in cell B4 in red color and formula to update cell A4 as "Due From". The final result should make both cells balance i.e. cell B5 = cell B14.
Issue: When I use IF formula, in any of these cells, it gives me circular reference error with a blue line. I fount it on google that I can turn off circular reference. However I do not want to do that.
Expectation: I am looking for either some kind of dynamic formula to serve my purpose or a work around to help me with balancing numbers.
I would be greatful if you can help me with the desired result.
Thanks.


Excel_BalanceSheet_Formula.png
 
From what I can see it is pretty much what we had before except that the second balancing cell is in the middle of that section of data rather than at the bottom.
Try these modifications.

24 01 31.xlsm
BC
1in 2023
237,781Value is coming from other sheet
30Value is coming from other sheet
40Value is coming from other sheet
5
6 Field should auto populate based on formula results
7
837,781
9
10
110Value is coming from other sheet
120Value is coming from other sheet
130Value is coming from other sheet
14
1545,263Field should auto populate based on formula results
16
1745263
18
19
20-7,482from cell B28
21
22-7,482Sum Formula
2337,781Sum Cell B15 + Cell B22
24
25
26-15,637
278,155
28-7,482
Balance (2)
Cell Formulas
RangeFormula
B6B6=IF(SUM(B2:B4)>(SUM(B11:B13)+B22),"",SUM(B11:B13)+B22-SUM(B2:B4))
B8,B17B8=SUM(B2:B6)
B15B15=IF((SUM(B11:B13)+B22)>SUM(B2:B4),"",SUM(B2:B4)-SUM(B11:B13)-B22)
B20B20=B28
B22B22=SUM(B20)
B23B23=B17+B22
 
Upvote 0
Solution

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Forum statistics

Threads
1,215,076
Messages
6,122,983
Members
449,092
Latest member
Mr Hughes

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