DATEIF Name error

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

Guest

Hi, I have to find the difference between two dates, the first (and earlier
date) is in column C, cells C2 - C5910 and the second is in column H, same
row references. The dates are in a dd/mm/yyyy format. I have input the
following in column I - =DATEIF(c2,h2,"d") which I expected to return the
number of days between the two dates, however, I am getting a "#NAME?" error.
Can anyone help please?

Thanks
 
Hi, I have to find the difference between two dates, the first (and earlier
date) is in column C, cells C2 - C5910 and the second is in column H, same
row references. The dates are in a dd/mm/yyyy format. I have input the
following in column I - =DATEIF(c2,h2,"d") which I expected to return the
number of days between the two dates, however, I am getting a "#NAME?" error.
Can anyone help please?

Thanks

The correct name of the worksheet function is DATEDIF.
^

(You left out the second "D").

But for days between dates, simpler might be

=H2-C2

and format as General or Number.


--ron
 
SCOOBYDOO said:
Hi, I have to find the difference between two dates, the first (and
earlier
date) is in column C, cells C2 - C5910 and the second is in column H,
same
row references. The dates are in a dd/mm/yyyy format. I have input
the
following in column I - =DATEIF(c2,h2,"d") which I expected to return
the
number of days between the two dates, however, I am getting a "#NAME?"
error.
Can anyone help please?

Thanks

Hi Scoobydoo

Try DATEDIF
 

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

Similar Threads

DATEIF 1
DATEIF function help pleeeeeease 2
Date calculation and possible vlookup 1
sumifs, sumif with dates 6
Simple IF problem 7
Datedif function 1
Age Calculation 4
count 7

Back
Top