Here is a VBA solution. It assumes the following:
The name of the source data (from vendor) worksheet is "Source"
An empty worksheet named "Dest" exists. This is where the re-arranged data will be placed.
I have chosen to provide a real date in column-D. It is derived from the months provided in source data row-1, but as row-1 is just text there is no year data available. For now I have assumed that the starting year in cell B1 is 2018. This can be changed easily if necessary by changing the startYear constant near the top of the VBA.
To test this macro:
1) Add/change the data on the source worksheet as desired.
2) Clear the "Dest" worksheet
3) Run the "reorg_data" macro.
4) Verify that the reorganized data on the "Dest" worksheet is as desired.
Here is the VBA:
See also the attached workbook
Bookmarks