Morning Excel Masters :D
I need your help for a simple macro to copy info from one file and paste it with a different format in a final file.
Final file should have the below aspect:
Now as you can see 3 from the 6 columns have always the same value - columns B, C and F. The other 3 columns come from the below file:
So Column A from the final file should come from the Column D.
Column E shoul come from column O.
Finally Column D should come from the merged cells from G1-N1. -On final file the date is always the same.
Thank you guys,
John
I need your help for a simple macro to copy info from one file and paste it with a different format in a final file.
Final file should have the below aspect:
Product | FactType | Unit | Date | Value | Market |
RTO021 | RollingForecast | P | 07/06/2020 | 28000 | DEFAULT |
RTO022 | RollingForecast | P | 07/06/2020 | 2000 | DEFAULT |
RTO137 | RollingForecast | P | 07/06/2020 | 7000 | DEFAULT |
RTO051 | RollingForecast | P | 07/06/2020 | 0 | DEFAULT |
RTO053 | RollingForecast | P | 07/06/2020 | 475 | DEFAULT |
RTO026 | RollingForecast | P | 07/06/2020 | 0 | DEFAULT |
RTO028 | RollingForecast | P | 07/06/2020 | 1800 | DEFAULT |
RTO002 | RollingForecast | P | 07/06/2020 | 0 | DEFAULT |
RTO057 | RollingForecast | P | 07/06/2020 | 2200 | DEFAULT |
RTO058 | RollingForecast | P | 07/06/2020 | 2500 | DEFAULT |
RTO059 | RollingForecast | P | 07/06/2020 | 0 | DEFAULT |
RTO060 | RollingForecast | P | 07/06/2020 | 2000 | DEFAULT |
RTO052 | RollingForecast | P | 07/06/2020 | 0 | DEFAULT |
Now as you can see 3 from the 6 columns have always the same value - columns B, C and F. The other 3 columns come from the below file:
So Column A from the final file should come from the Column D.
Column E shoul come from column O.
Finally Column D should come from the merged cells from G1-N1. -On final file the date is always the same.
Thank you guys,
John