Dec 11, 2020 03:00 AM
Hello, I would like to create a formula that works out a date period for example the start date is 11/12/20 and 4 months later (calendar months) ie 11/04/2020 is there a formula I can use to automate this date of the 11/04 from my start date?
Thanks
Dec 11, 2020 05:38 AM
Hi @Amy_Mcwilliam! Welcome to Airtable Community :wave:
The formula for this is;
DATETIME_FORMAT(DATEADD({Start Date},4,'month'),'DD-MM-YY')
What this formula does is that it takes your Start Date
field and calculates 4 months into the future while keeping your preferred format of DD-MM-YY.
Hope this helps. Feel free to reach out if you run into any issues.
Nathalie
Dec 11, 2020 05:48 AM
Thank you, this worked! How would I could I also use a date formula on this example?
A loan is due to redeem on 11/12/20 - from the 12/12 the interest rate is higher. How do I pick the date range of 12/12 + 1 day to the 13/12?
Dec 11, 2020 06:31 AM
The answer for this really depends on why the interest is increasing.
OR
Dec 11, 2020 06:33 AM
your point 1. in this example after 4months it is now charged at a higher rate from the 13/12
Thanks
Dec 11, 2020 07:16 AM
Perfect. So for this situation, let’s assume that you have the following fields;
Your formula would read;
IF(DATETIME_DIFF(TODAY(),{Start Date},'months')>= 4,(({Amount Owing}*{Interest Rate AFTER Due Date})+{Amount Owing}),(({Amount Owing}*{Interest Rate Prior to Due Date})+{Amount Owing}))
So to reiterate, this formula does the following;
Here’s a base to demonstrate.
Hope this helps.
Nathalie
Dec 11, 2020 07:38 AM
thank you, this is really helpful!