Help

Formula to determine fiscal year relative to date in other clumn

1874 3
cancel
Showing results for 
Search instead for 
Did you mean: 
Erika_Harano
4 - Data Explorer
4 - Data Explorer

Hi there - I’m looking to set up a formula to determine fiscal year and can’t figure it out. Help appreciated

I tried setting up an IF function (i.e., if the date in the “Engagement End Date” column is on or after 7/1/2018, then the fiscal year is 2019, and if the date in the “Engagement End Date” is on or after 7/1/2019, then fiscal year is 2020.)

30%20PM

Also - is there a formula in Airtable comparable to IFERROR? I don’t quite think ERROR and ISERROR formulas are what I’m looking for. Thanks!

Thanks!

3 Replies 3
Luiggi_Cuozzo
6 - Interface Innovator
6 - Interface Innovator

Check here all the Date Formulas you can work with.

Formulas and date fields

If you would like to incorporate the data from a date-type field into a formula field, the best way to do this is by using the DATETIME_FORMAT function. (For more information on the different funct...

Jackson_Scott
5 - Automation Enthusiast
5 - Automation Enthusiast

Hey Erika,
Little late to the party but thought I’d reply for the books as I just figured this out.

Essentially, you use DATETIME_FORMAT to get the month and calendar year as numerals and then a simple IF to return the calendar year if month is less than 7 (ie. it’s before July) or the calendar year plus one if it’s after July. That will work in perpetuity without having to manually define new ranges as the years pass. This looks like:

IF((DATETIME_FORMAT(Date, 'MM'))>6,((DATETIME_FORMAT(Date, 'YY'))+1), ((DATETIME_FORMAT(Date, 'YY'))))