Excel example-formula C4+C5 adds before data in C5 Can I get it t.

N

New Excel User

I'm trying to create a formula (for example):
In cell D5 I want it to add C4+C5. I would like it to work only after there
is data in C5, but not before. How can I get it to work only when there is
data in C4 & C5? Right now its showing what I have in C4.
 
D

Dave Peterson

=if(count(c4:c5)<2,"Not enough values!",c4+c5)


I'm trying to create a formula (for example):
In cell D5 I want it to add C4+C5. I would like it to work only after there
is data in C5, but not before. How can I get it to work only when there is
data in C4 & C5? Right now its showing what I have in C4.
 
S

SSG QuarterMaster

if you want the cell to stay blank then you could use the following formulae:

=If(c5="","",sum(c4,c5))
 

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