Show zero in a cell

C

Clare

Hi

I have the undernoted formula, however, when cell H3 has no date in it the
cell with the formula shows 5714 can anyone tell me how to make the cell show
0 when there is no date in cell H3.

=SUM(NOW()-H3)/7

Thanks
 
E

Eduardo

Hi,

=if(H3="","",=SUM(NOW()-H3)/7)

the formula above will leave the cell blank if you want to have 0 use

=if(H3="",0,=SUM(NOW()-H3)/7)
 
S

Scoops

Hi

I have the undernoted formula, however, when cell H3 has no date in it the
cell with the formula shows 5714 can anyone tell me how to make the cell show
0 when there is no date in cell H3.

=SUM(NOW()-H3)/7

Thanks

Hi Clare

=IF(H3="",0,SUM(NOW()-H3)/7)

Regards

Steve
 
S

Shane Devenshire

Just a suggestion,

If you give a Yes to a later answer, that is the same as an earlier answer,
you should go back and click yes for each of those early "correct" answers.
Its just to be fair to Max, Eduardo, or NBVC, since the Microsoft site tracks
the number of answered questions based on this, they never actually look at
each question and answer, they rely on the user feedback.
 

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