You want the balance to appear in column F now, so click on cell F2 and
just type the following, exactly as it appears:
=D2 - E2
and press Enter. This should show the value 25 in cell F2, if you have
put 25 in cell D2. So now you should select cell F3 and type this
formula (again, exactly as it appears):
=F2 + D3 - E3
and press Enter. This will result in 50 being shown in the cell, as it
will take the value in F2 (i.e. 25) and add the value in D3 to it (25)
and then subtract the value in E3 (0).
In the cell below this you want a similar formula but referring to the
values in the row below, i.e.:
=F3 + D4 - E4
and this is a frequent requirement in Excel. Instead of having to
retype the formula each time, however, Excel allows you to copy a
formula and it will make the necessary adjustments to the cell
references for you.
So, select cell F3 and click the <copy> icon on the toolbar - a series
of dotted lines will appear around the cell. Then click on the cell
below it (F4), hold down the <Shift> key and click on F20 then release
the <Shift> key - this will have highlighted the range of cells from F4
to F20, and to copy the formula into these cells all you need to do now
is press the <Enter> key.
If you click on one of the cells in this block, eg F10, you will see
the formula
=F9+D10-E10
in the formula bar, although on screen the cell will display the
current balance at that point.
You can then add your data to the other cells as you go along and the
balance will update itself. You can always copy the formula from F20 to
cells below it (in a similar manner as described above) once you have
entered more than 20 rows of data.
To get all the cells in columns D E and F to display 2 decimal places,
you should click on the letters D E and F at the top of the columns
(these are called column identifiers) and this will highlight the
complete column. Then click Format from the menu at the top, then Cells
and ensure you have the Number tab selected. From the list presented to
you, you might want to select Currency and you can choose the number of
decimal places you want to display - click OK when you have finished.
The numbers will now also have the currency symbol displayed.
Hope this helps.
Pete