View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Luada Luada is offline
external usenet poster
 
Posts: 3
Default Calculations in Excel

Thanks JulieD and Ron for your help. I have been retired for several years
and boy do you forget what use to be so easy to do. Okay, I was able to
correct formulas, etc. and make Lookup work. I still have one problem. On
the balance column, it keeps repeating the last balance all the way to the
total. I only want the balance to be on the last entry line, regardless of
how many other lines are below it.

Example:

Amount Charged Payment Received Balance
75.00 75.00
10.00 65.00
15.00 50.00
50.00
50.00
etc.
I don't want the last two 50.00 to show as this is confusing to people. How
do I mask the column until I actually enter a number on that row and perform
the caluclation.


"JulieD" wrote:

Hi

for your first problem embedd your formula in an IF statement
e.g.
=IF(ISBLANK(A1),"",your_current_formula)

to retrieve the last value in a column
=LOOKUP(2,1/(-E1:E10<0),E1:E10)

Where A1:A10 is the range you're interested in.

Cheers
JulieD

"Luada" wrote in message
...
I am designing an invoice sheet and need to have formulas that calculate
what
is due. My first problem is how to populate the balance column with the
formula without the #Value showing until I actually have numbers that will
populate that row. I tried the template for invoice but I need to modify
it
and then it does not work.

Second, is how to you refer to the last populated balance row in a
receipt.
I cannot use the sum as then it adds all the balances. I just need the
last
balance row that has a number in it.