Adding Dates Help

  • Thread starter Thread starter David M
  • Start date Start date
D

David M

Hi All,

Pleae tell me if I have this correct =IF(ISERROR(R8-Q8),"")

What I need to do is get the difference between dates to
show a progression of time from one state of being to
another. The reason for the ISERROR is so that when there
is no two dates to calculate, the return won't be the
VALUE! error. What I am getting is when it finds dates
that are the same IE,
1/1/04-1/1/04...the value should be returned as
Zero...what I get is the value FALSE....what am I missing??

The goal is to get the difference between the dates no
matter if they are the same or not.

Thanx for your help

David
 
Hi

You've missed off part of your IF function. The syntax is:
=IF(test,result if test true, result if test false)

Try this:
=IF(ISERROR(R8-Q8),"",R8-Q8)
 
Worked like a charm...thank you so much
-----Original Message-----
Hi

You've missed off part of your IF function. The syntax is:
=IF(test,result if test true, result if test false)

Try this:
=IF(ISERROR(R8-Q8),"",R8-Q8)

--
Andy.





.
 

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