Set(varToday, Today());
Set(varFiscalYear,
If(
Month(varToday) >= 10,
Year(varToday) + 1,
Year(varToday)
)
);
Set(varFiscalQuarter,
Switch(
Month(varToday),
10, 1, 11, 1, 12, 1, // Q1: Oct-Dec
1, 2, 2, 2, 3, 2, // Q2: Jan-Mar
4, 3, 5, 3, 6, 3, // Q3: Apr-Jun
7, 4, 8, 4, 9, 4 // Q4: Jul-Sep
)
);
Set(varFiscalDisplay, "FY " & Text(varFiscalYear) & " Q" & Text(varFiscalQuarter));
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.