auto subtract

M

Michael Higgins

Hi, i am `trying to find the auto function to allow column G to get the
outstanding balance due from the column D after the deposit has been taken.

Many thanks.


Michael.

A B C D E
F G H I
DATE INVOICE NAME TOTAL DEPOSIT TYPE BALANCE DATE
REF NO:
21/6/08 1111111 smith 200 100 cash 100
 
S

Sandy Mann

Try:

=IF(D2="","",D2-E2)

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

(e-mail address removed)
Replace @mailinator.com with @tiscali.co.uk
 
M

Michael Higgins

thanks for that Sandy it worked, is there some way of using the code on all
the lines without having to edit the row number each time

Michael
 
S

Sandy Mann

Yes. When you select a cell you will see a small black square in the bottom
right-hand corner of the cell. Hover the cursor over this square and the
big white cross cursor will turn into small crosshairs. With the crosshairs
showing, left click and hold the button pressed while you drag the cursor
down the column. The formula will be copied and the cell references will be
indexed as you drag down. The small square is called the fill handle.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

(e-mail address removed)
Replace @mailinator.com with @tiscali.co.uk
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top