I have this table in Google sheet:
Col A (Month) | Col B (Date) |
---|---|
January | 1/1/2023 |
January | 1/2/2023 |
January | 1/3/2023 |
And I have another table:
Col C (Dept.) | Col D (KPI) |
---|---|
Dep1 | KPI1 |
Dep1 | KPI2 |
Dep2 | KPI3 |
I want to repeat the first table for each item from the second table to be like:
Col E (Month) | Col F (Date) | Col G (Dept.) | Col H (KPI) |
---|---|---|---|
January | 1/1/2023 | Dep1 | KPI1 |
January | 1/2/2023 | Dep1 | KPI1 |
January | 1/3/2023 | Dep1 | KPI1 |
January | 1/1/2023 | Dep1 | KPI2 |
January | 1/2/2023 | Dep1 | KPI2 |
January | 1/3/2023 | Dep1 | KPI2 |
January | 1/1/2023 | Dep3 | KPI3 |
January | 1/2/2023 | Dep3 | KPI3 |
January | 1/3/2023 | Dep3 | KPI3 |
I tried to work with query inside an array formula but it is not working.
Please Help,
Thank you,