DATEIF

  • Thread starter Thread starter MARION
  • Start date Start date
M

MARION

I am trying to calculate the days that a student is in a
particular phase of training based on a today's date and
some phase start date.
However one particular phase's start date is in the future.
How can I get around the #num error. I have tried using
the IF function to 0 out the cell but it still cannot
handle the future date in the DATEIF function.

Start Date:1-APR-2005=M4
Today's Date:16-APR-2004=M3
IF(M4<M3,0,M5)
DATEIF(M4,M3,"YD")=M5 RESULTS IN #NUM ERROR
 

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

MS Query 1
number of days between dates? 5
Datedif function 1
IF/AND used with SUMPRODUCT? 2
Custom Cell Formatting Using % With Dates 2
Multi NetWorkDays Calculation 3
maybe by VBE users..... 4
Multiples 6

Back
Top