trying to make a cell either blank or zore value

D

Dobbin0_4

I am trying to make a cell show a blank of zero value either is fine
here is the formula

=SUM(E5-D6+C6)

With cell E5 being the cell that needs to return a zero value if no data is
added to either cells D6 or C6

I have tried the "IF" function but am getting stuck with it here is what i
have doen with the IF function. I know i am doing something wrong but can't
see where!

Any help is greatly appreciated
Thanks
 
P

Pete_UK

I think you need something along the lines of:

=IF(OR(D6="",C6=""),"",E5-D6+C6)

but you will not be able to put this in cell E5.

Hope this helps.

Pete
 
D

David Biddulph

Look up "circular reference" [in Excel help & in the archives of this
group.]
 

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