You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

numbers - help with a running balance please

Please would someone help me with creating a very simple running tally (to be used for petty cash)?

I have virtually no experience in numbers.

many thanks


Posted on Mar 18, 2021 8:44 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 18, 2021 10:12 AM

Hi Diane,


Here's a bare bones table that keeps a running balance:

Initial balance is entered in cell D1

Amounts deposited are entered in column B.

Amounts removed are entered in column C

Current balance id in the last filled cell of column D


Column A does not enter into the calculations. use it for notes, initialing the transaction, or other purposes.


The table has one formula, entered in cell D3, then filled down to the end of that column:


IF(AND(C3="",B3=""),"",D$1−SUM(C$3:C3)+SUM(B$3:B3))


The core formula (shown in bold) gets the starting value from cell D1, subtracts the sum of values in C3 to 'this row' of column C, and adds the sum of values in B3 to 'this row' of column B, and shows the result in the cell containing that copy of the formula.


The rest of the formula is a 'switch' that prevents the core formula from being called until there is an entry it 'this row' of column B or column C.


Regards,

Barry



4 replies
Question marked as Top-ranking reply

Mar 18, 2021 10:12 AM in response to diane Cowmeadow

Hi Diane,


Here's a bare bones table that keeps a running balance:

Initial balance is entered in cell D1

Amounts deposited are entered in column B.

Amounts removed are entered in column C

Current balance id in the last filled cell of column D


Column A does not enter into the calculations. use it for notes, initialing the transaction, or other purposes.


The table has one formula, entered in cell D3, then filled down to the end of that column:


IF(AND(C3="",B3=""),"",D$1−SUM(C$3:C3)+SUM(B$3:B3))


The core formula (shown in bold) gets the starting value from cell D1, subtracts the sum of values in C3 to 'this row' of column C, and adds the sum of values in B3 to 'this row' of column B, and shows the result in the cell containing that copy of the formula.


The rest of the formula is a 'switch' that prevents the core formula from being called until there is an entry it 'this row' of column B or column C.


Regards,

Barry



Apr 25, 2021 11:00 AM in response to diane Cowmeadow

Hi Diane,


From your description, it appears you copied the formula from my post, then clicked on cell D3 and pasted it there.


Delete the contents of D3, then folloe these steps:


Select the formula from my post above. Copy.


In Numbers:

Click once on cell D3, then press =

This opens the Formula Editor.

Press command-V to paste the formula into the editor.

In the editor, the formula should now look like this:


Click the green checkmark button to confirm the formula and close the editor.


Place the mouse pointer close to the botom of cell D3. When a yellow dot appears on the bottom boundary of that cell, place the tip of the pointer arrow in the dot, press the mouse button, and drag down to fill the formula into the rest of the cells in column C.


The cell references in the formula will stay the same where there is a $ in front of the number (D$1, B$3) and will increment to match the row where there is no $ before the number.


Regards,

Barry



Apr 25, 2021 6:20 AM in response to Barry

Hi Barry - sorry for the long delay in taking you for your massive effort. I have meticulously followed this to the letter actually copy and pasting your formula into cell D3 - the formula just sits there. I put £100 as start total less £10 and nothing changes in balance so now I am very confused......in your chart the formula is not visable in D3. So what have I done wrong?

Thx Diane

numbers - help with a running balance please

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.