Kristen Sorenson
New Member
I am trying to take a forecast and flatten the file to import it back into our ERP software. The files can contain (1000+ items which will vary by plant). I need to take this report and break it down so that it appears in the following format:
My best attempt was using this formula in column D. However, creating the item and repeating that item by the number of months is my biggest issue.
=INDEX(Forecast!$C$3:$N$1554,MATCH(A4:$A$6209&B4:$B$6209,Forecast!$A$3:$A$1554&Forecast!$B$3:$B$1554,0),MATCH(C4:$C$6209,Forecast!$C$2:$N$2,0))
Item Month Forecast Qty (Column D).
123456 Jan 2222
123456 Feb 2798
123456 March 3210
123456 April 2356
Current the information that I receive is displayed:
Item Jan Feb March April May June
123456 2222 2798 3210 2356
The IMPORT tab on my spreadsheet was my best attempt of reformatting the (forecast sheet). I would like help in building a macro that will break down an item that is in the (forecast sheet) by the number of months shown.
Example:
Item Month Forecast Qty
123456 Jan 2222
123456 Feb 2798
123456 March 3210
123456 April 2356
1234561 Jan 345
1234561 Feb 279
1234561 March 324
1234561 April 321
My best attempt was using this formula in column D. However, creating the item and repeating that item by the number of months is my biggest issue.
=INDEX(Forecast!$C$3:$N$1554,MATCH(A4:$A$6209&B4:$B$6209,Forecast!$A$3:$A$1554&Forecast!$B$3:$B$1554,0),MATCH(C4:$C$6209,Forecast!$C$2:$N$2,0))
Item Month Forecast Qty (Column D).
123456 Jan 2222
123456 Feb 2798
123456 March 3210
123456 April 2356
Current the information that I receive is displayed:
Item Jan Feb March April May June
123456 2222 2798 3210 2356
The IMPORT tab on my spreadsheet was my best attempt of reformatting the (forecast sheet). I would like help in building a macro that will break down an item that is in the (forecast sheet) by the number of months shown.
Example:
Item Month Forecast Qty
123456 Jan 2222
123456 Feb 2798
123456 March 3210
123456 April 2356
1234561 Jan 345
1234561 Feb 279
1234561 March 324
1234561 April 321