I have a sheet that has a number of metrics for which I request and report data for on a number of different cadences i.e. monthly, quarterly etc. across the entire year.
I have the following fields in the sheet: Metric name, Data Reporting Frequency (which can be Monthly, Quarterly etc.), Reporting Date (this is the date for which I want the metric data for), Name of Month (this take the name of the month of the "Reporting Date" field), Pass Date (helper field used in the automation) and Next Update.
What I'm trying to achieve is this : when a month ends for example June 2024, I want the automation to send out an email request on the first day of July requesting for the previous months data (i.e. June), the same for the prior months i.e when May ends, I want the automation to send out an email request on the first day of June (which is the next month) requesting for the previous months data (i.e. May).
I think I have been able to setup the automation however when May ended and the automation was triggered rather than requesting for May data it requested for April data. The same thing happened in April where rather requesting for April data in May it requested for March data. Below is a screenshot of the sheet and the automation. The "Pass Date" field checks to see if the current date is greater than the "Date" field. If yes then when the automation is triggered it should request for data for the date in the "Date" field. In the table below the automation should ask for data for May, however it asked for data for April. Thanks in advance.