Using formula to calculate figures based on dates, it gives circular reference

questforexcel

Board Regular
Joined
Jan 18, 2019
Messages
95
Ledger No:ID#SrcAccount Name DateMemoBeginning Yr BalanceDebitCreditCl Daily BalCl Mon Bal
4-1100GJ000327GJSales30-Sep-16PayPal US Transactions0 $77,477.73($122,046.23)($122,046.23)
4-1100CR000382CRSales07-Oct-16 0 $53.79$0.00$0.00
4-1100CR000383CRSales07-Oct-16 0 $53.79($122,153.81)$0.00

<colgroup><col><col><col><col><col><col><col><col span="2"><col span="2"></colgroup><tbody>
</tbody>


Hi, This is the current formula that I am using.

=IF(ISNUMBER(SEARCH("Beginning Balance",C4931)),D4931+I4932-J4932,K4931+I4932-J4932)

This is taking into account cumulative figures Month over Month. Hence I need to remove the last end of month figures.

Below is the formula that I had typed out on this:

=IF(ISNUMBER(SEARCH("Beginning Balance",C4929)),D4929+I4930-J4930,IF(AND(MONTH(F4929)=MONTH(F4930)),K4929+I4930-J4930,K4929-K4930))

When I use the formula IF(AND(MONTH(F4929)=MONTH(F4930)),K4929+I4930-J4930,K4929-K4930))

It gives in the correct result but when I combine it with this, it tells me circular reference warning. IF(ISNUMBER(SEARCH("Beginning Balance",C4929)),D4929+I4930-J4930


Could you please help how else could i remove cumulative figures for my data with daily and monthly figures.

Thank you
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,659
Messages
5,838,645
Members
430,559
Latest member
jm5498

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
Top