C
CSSMepps
Need some help to get the results I need. The formula I started with is this:
DateDiff: DateDiff([Interval],[LastDateDue],[CurrentDate])
This what I want, but my formula does not return this:
If interval yyyy, then June 1, 2004 to May 1, 2006 = 1 (this equal to 1 year
or 365 days)
If interval yyyy, then June 1, 2005 to May 1, 2006 (this is less than 1 year
or 365 days) (formula actually returns 1, I want it to be 0)
If interval m, then April 5, 2006 to May 1, 2006(this is less than a month
or 30 days) (formula actually returns 1, I need a 0)
If interval m, then April 1, 2006 to May 1, 2006 = 1 (this is equal to a
month)
If interval m, then March 15, 2006 to May 1, 2006 (this is less than two
months or 60 days) (formula returns 2, I need a 1,)
If interval m, then March 1, 2006 to May 1, 2006= 2( this is equal to two
months or 60 days)
I need a formula that returns a whole number up to but not over the
difference in years or months or quarters. Any suggestions?
DateDiff: DateDiff([Interval],[LastDateDue],[CurrentDate])
This what I want, but my formula does not return this:
If interval yyyy, then June 1, 2004 to May 1, 2006 = 1 (this equal to 1 year
or 365 days)
If interval yyyy, then June 1, 2005 to May 1, 2006 (this is less than 1 year
or 365 days) (formula actually returns 1, I want it to be 0)
If interval m, then April 5, 2006 to May 1, 2006(this is less than a month
or 30 days) (formula actually returns 1, I need a 0)
If interval m, then April 1, 2006 to May 1, 2006 = 1 (this is equal to a
month)
If interval m, then March 15, 2006 to May 1, 2006 (this is less than two
months or 60 days) (formula returns 2, I need a 1,)
If interval m, then March 1, 2006 to May 1, 2006= 2( this is equal to two
months or 60 days)
I need a formula that returns a whole number up to but not over the
difference in years or months or quarters. Any suggestions?