Save the date! Join us on October 16 for our Product Ops launch event. Register here.
May 03, 2023 12:07 PM
Greetings! I am pretty new to Airtable, so forgive me if this is a silly question: For reference, I am maintaining a book of business for an insurance office. This office manages multiple lines of business (home, auto, life, business, etc... which are a single select field in my table). I am trying to create a column that displays the "next renewal", based on the field "inception date". Here is what I have so far:
May 03, 2023 12:42 PM
@ccreamer11 You might want to try something like this. I am not certain why you are using DATETIME_PARSE as it woudl seem you have formated the field to be a date given that you are using the DATETIME_FORMAT in the first line.
May 03, 2023 01:00 PM
Thanks for helping. Your help is getting me closer. Your formula did add 6 months to auto and a year to all else, exactly as I asked. However, I was using Parse date because I want this column to be perpetually, accurately, displaying the "Next" renewal.. your formula did add the 6 months as asked, but it did not display the year as I am looking for. For example, lets use a policy with an {inception date} of 4/1/2020. I want this formula to display the date as 4/1/2024 unless its an auto policy, then I want it to display 10/1/2023.. my original formula displays the date as 4/1/2024, regardless of {line}, while your formula displays a date of 4/1/2021 or 10/1/2021.. I need to somehow merge them together.
May 03, 2023 02:15 PM
Hey @ccreamer11!
Is this along the lines of what you're looking for?
IF(
{Inception Date},
IF(
AND(
{Inception Date} > TODAY(),
{Line} = "Auto"
),
DATEADD(
{Inception Date},
6, "months"
),
DATEADD(
{Inception Date},
1, "years"
)
)
)
May 04, 2023 09:09 AM - edited May 04, 2023 09:13 AM
@ccreamer11 I worked on this for a minute this morning. The diffifulity in what you are asking is that AT needs to know which side of the half year mark you are on. I was hoping that DATETIME_DIFF would provide a decimal equivalent of 'years' to make this easier but it appears to only push integers. Try this below and see if it works for you.