Account Ledger formula

petiteshiraz

Board Regular
Joined
May 16, 2005
Messages
145
I need help with creating formulas to work in my spreadsheet. This is what I want to do:

I have four boxes lined up horizontally - they are "Debit", "Credit", "Balance Debit" and "Balance Credit".

If there is a figure in teh "Debit" box, I want that number to be deducted from the figure currently in the "Balance Debit" or "Balance Credit" just above. It's an accounting ledger so the balance will either be in the "Balance Debit" or "Balance Credit" but not both.

Does this make sense?
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Assuming the data goes from column A to column D, do you mean this:

=IF(A3>0,C2-A3,C2+A3)

??

This will add the value in Debit to Balance Debit if the value is >0, and subtract it from Balance Credit if the value is <0.

Adjust the +/- signs to suit.
 
Upvote 0
That's not working...

This is how it should work:



Column A----------Column B----------Column C----------Column D
Debit---=----------Credit------------Balance Debit------Balance Credit
-------------------$5,000-------------------------------$5,000
$1,000--------------------------------------------------$4,000
$6,000------------------------------$2,000
 
Last edited:
Upvote 0
Sorry, I'm not really familiar with Account Ledgers. Are you showing us what you have, or what you want?
 
Upvote 0

Forum statistics

Threads
1,203,619
Messages
6,056,323
Members
444,859
Latest member
nil164

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