How can I make new column headers based on row information where the values are in two columns?
For example, the sample output required:
| Date | Actual Revenue | Actual COGS | Budget Revenue | Budget COGS |
| 1/12/12 | 2114 | 1212 | 0 | 0 |
| 1/01/10 | 0 | 0 | 4535 | 2342 |
| 19/04/17 | 0 | 0 | 6456 | 3045 |
| 16/01/19 | 2425 | 1335 | 0 | 0 |
From the current file I have of the form:
| Date | Type | Revenue | COGS |
| 1/12/12 | Actual | 2114 | 1212 |
| 1/01/10 | Budget | 4535 | 2342 |
| 19/04/17 | Budget | 6456 | 3045 |
| 16/01/19 | Actual | 2425 | 1335 |
The actual data would have both actual and budget performance for each date.