Hi am trying to manipulate the following dataset to have the layout in the excel table below. I attached a sample data as well that could be used in a workflow. Thanks a bunch and would appreciate any help.
The dataset is membership IDs and payment frequency. So 1=annual 2=semi-annual, 3=quarterly, 4=annual. Members sometime change their payment but usually not more than once. I am trying to spread the payments over the course of the year for each member based on the payment frequency but need to account for changes in payment frequency.
In addition, i need some help in trying to think about how to write the formula to choose the correct payment frequency based on when the change occurred. For example, right now i only have 1 payment frequency type but need the payment frequency description to be dynamic (choose based on the payment date). For example, if a member made a payment on 03/17/2019 and they changed from a semi-annual to monthly payment on 03/17/2019 i want the make sure i am now spreading the payment on a monthly basis. I have not encountered instances where the payment frequency changes more than once. Other fields that i have that could be used are "last payment date", "next payment date", "payment date".
Current formula.
if [PaymentFrequency_Description]="Annual" THEN DateTimeAdd(DateTimeTrim([start date],"lastofmonth"),11,"months") ELSEIF [PaymentFrequency_Description]="Semi-Annual" THEN DateTimeAdd(DateTimeTrim([start date],"lastofmonth"),5,"months") ELSEIF [PaymentFrequency_Description]="Quarterly" THEN DateTimeAdd(DateTimeTrim([start date],"lastofmonth"),2,"months") ELSEIF [PaymentFrequency_Description]="Monthly" THEN DateTimeAdd(DateTimeTrim([start date],"lastofmonth"),0,"months") ELSE [start date] ENDIF
