I'm trying to create a workflow to summarize values from several months of data in a fortnight basis, i.e. for every month I need to extract a sum of values from the first and the second half of the month. The final result is a Matrix with the same number of columns as of rows. I was able to do that in Formula for 5 periods (15, 30, 60, 90 and 180 days), but to get the full result I would need to right a formula with 70+ ELSEIFs, so I was looking for a solution to do it iteratively, where I'll have the date in rows and the 15-day periods in columns, Something like that:
| Due date | 15 | 30 | 60 | 90 | 180 | |
| 06/19 - 2º Q | 636.73 | 5900.16 | 18027.07 | 16107.89 | 13982.50 | |
| 07/19 - 1º Q | 806016.66 | 32675.86 | 52986.73 | 41108.45 | 11652.21 | |
| 07/19 - 2º Q | 3755.29 | 46.53 | 503.06 | 36.28 | 3920.52 | |
| 08/19 - 1º Q | 30875.70 | 8903.76 | 7635.31 | 630.61 | |
| 08/19 - 2º Q | 12450.28 | 3132.56 | 2819.78 | 25.23 | | |
| 09/19 - 1º Q | 83724.07 | 23383.55 | 19653.85 | | |
| 09/19 - 2º Q | 70917.95 | 15023.94 | 6191.93 | | |
| 10/19 - 1º Q | 87190.81 | 6549.80 | | | |
| 10/19 - 2º Q | 43045.42 | | | | | |
| 11/19 - 1º Q | 4111.53 | | | | | |
But, it would be a table with one row for every 15 days (the full dataset will have 5 years of data)
Is there a way to do it easily?
Thanks