Importing data and converting weekly to monthly data given a start date.

Ch0o0ps

New Member
Joined
Feb 21, 2003
Messages
4
Hi all,
Please excuse a beginners question.

I need help creating a macro that takes the data from “weekly update” and imports this data to a sheet in “monthly data”
“Monthly data” might already have data that needs to be removed before new data is imported.
The data in “weekly data” (column J:M) needs to be imported under the right month in “monthly data”.

Cell E4 and H4 is determining the period covered by weekly information.
Since “weekly update” is generated from a db and if the query time period is different I.e Cell E4 the week numbers in J:M will change as well. So if cell E4 was 20/03/2011 cells J:M would be Week 13, Week 14, Week 15, Week 16

Looking for all help I can get.
Excel Workbook
ABCDEFGHIJKLM
1Weekly update
2
3
4Site:16Forecast Date:28/02/2011-->15/08/2011Planner:mrx
5
6PART_NODESCRIPTIONTYPE_DESIGNATIONPLANNERCUSTOMERStd Lot SizeDIM_QUALITYPART_STATUSTotal QtyWeek 10Week 11Week 12Week 13
71111111bla bla1dddd1mrxname125,00025000 PCS/ROLLA3,350,000.000.000.000.000.00
81111112bla bla2dddd2mrxname2200,000100000PCS/ROLLA4,920,000.000.00100.000.000.00
91111113bla bla3dddd3mrxname330,00030000 PCS/ROLLA200,000.000.000.00100.000.00
101111114bla bla4dddd4mrxname4200,0004000 PCS/ROLLA15,992,000.000.00100.000.00100.00
Weekly update
Excel 2003
Excel Workbook
ABCDEFGH
1Part NoPart DescriptionCustomerJan-10Feb-10Mar-10Apr-10May-10
21111111bla bla1name1-----
31111112bla bla2name2115,000124,90574,930111,685182,777
41111113bla bla3name3-----
51111114bla bla4name4172,000----
Monthly data
Excel 2003
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Forum statistics

Threads
1,224,599
Messages
6,179,828
Members
452,946
Latest member
JoseDavid

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top