Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
sunil-kumar5
Creator II
Creator II

Identify Renew License

Hi All,

I have a installation date and due date column and on the basis of on these two columns I want to identify the status of licensed as (Active, Expired and Renew). Please find the below dummy data. The difference of Due date is 365 Days, I want to give some idea about the renew as Apr-19 is the installation date so Apr-2020 would be the due date however that customer renew the license in that month and due date update to Apr-21 that is how we can catch the renew condition. For Expired any due date which is less than today() is expired and rest are actives like all fall under today-365 and  greater than today. 

Conditions 
Installation_DateDue_Date
Apr-19Apr-21
Dec-19Dec-20
Mar-20Mar-21
May-19May-20
Jun-19Jun-21

 

Requirement:

Installation_DateDue_DateResult Should be:
Apr-19Apr-21Renew
Dec-19Dec-20Active
Mar-20Mar-21Active
May-19May-20Expired
Jun-19Jun-21Renew

 

Thanks in advance

Please advise

Sunil

1 Solution

Accepted Solutions
GaryGiles
Specialist
Specialist

Not sure of all of your requirements, but this works for your small sample set.

=If(Due_Date<Today(),'Expired',
If(AddMonths(Installation_Date,12)<Due_Date,'Renew','Active'))

View solution in original post

2 Replies
sunil-kumar5
Creator II
Creator II
Author

Can someone please look into it?

GaryGiles
Specialist
Specialist

Not sure of all of your requirements, but this works for your small sample set.

=If(Due_Date<Today(),'Expired',
If(AddMonths(Installation_Date,12)<Due_Date,'Renew','Active'))