Blank Value not recognized?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,
I have a spreadsheet that tallies expenses against the budget. I have set
up the following formula to show as a blank until an entry has been made:

=IF(D10=" "," ",G9-D10)

The problem is that it does not show a blank value, rather, it continues to
tally the total from the previous cell. See below:

D E F G H
9 $850 $650 $1,500 $13,250 $18,428
10 $13,250 $18,428
11 $13,250 $18,428

Any suggestions how to keep the G and H columns blank until there is an
entry in either D or E?

Thank you,
 
A "blank" is "" not " " (which is a space), change to

=IF(D10="","",G9-D10)
 
Try something like this:

=IF(COUNT(D10:E:10),G9-SUM(D10:E:10),"")
That will treat blanks or text in D10:E:10 equally (as blanks)

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP
 

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

Back
Top