Jump to content

This topic is 8005 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I am stumped over a probably simple calculation.

How do I structure a formula to show if the Current Date is equal to or larger than the date of Modification plus 3 years?

I have calculated the length of time since modification, but how do I add 3 years and compare to the current date?

Thanks...

Posted

Case(

Status(CurrentDate) >= Date(Month(ModificationDate), Day(ModificationDate),Year(ModificationDate) + 3),

"Out of Date",

"Still in Date"

)

Or, you could get fancy and have:

Case(

Status(CurrentDate) > Date(Month(ModificationDate), Day(ModificationDate),Year(ModificationDate) + 3),"Out of Date",

Status(CurrentDate) = Date(Month(ModificationDate), Day(ModificationDate),Year(ModificationDate) + 3),"Expires Today",

Status(CurrentDate) >= Date(Month(ModificationDate), Day(ModificationDate) - 7,Year(ModificationDate) + 3),"In Date B) Expire Within 1 Week",

Status(CurrentDate) >= Date(Month(ModificationDate) - 3, Day(ModificationDate),Year(ModificationDate) + 3),"In Date : Expire Within 3 Months",

Status(CurrentDate) >= Date(Month(ModificationDate) - 6, Day(ModificationDate),Year(ModificationDate) + 3),"In Date : Expire Within 6 Months",

"Still in Date"

)

  • 2 weeks later...

This topic is 8005 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.