Dear Excel Forum members,
I have a difficult problem in converting monthly data to weekly data.
Context: I have 21 EU countries with weekly data regarding the price of gasoline between 2005-2014 (1 year contains 52 data for each year). But the inflation rate is only reported in monthly data. So, I would like to convert monthly inflation data into weekly data to match the price of gasoline for each country and each year. It is time consuming filling manually each cell through Copy-Paste, and I would like to ask you if there is some formula to ease my work?
The weekly data looks like this (please be aware that 200501 - in case of weekly data represent the week number 1 of year 2005):
Country Date Pricegasoline
AT 200501 916
AT 200502 916
AT 200503 907
AT 200504 910
... ... ...
AT 200552 1038
And the inflation rate is monthly (please be aware that 200501 represent month number 1 of year 2005):
Country Date Inflation
AT 200501 99.15
AT 200502 99.48
... ... ...
AT 200512 100.69
How can I convert inflation from monthly to appear in weekly, meaning for the first four weeks of January 2005 inflation rate should appear 99.15, and then for the next 4 weeks of February the inflation rate should appear 99.48 and so on?
Meaning:
Ctry Date(week) Pricegasoline Inflation
AT 200501 916 99.15
AT 200502 916 99.15
AT 200503 907 99.15
AT 200504 910 99.15
AT 200505 907 99.48
AT 200506 919 99.48
and so on.
I would like to mention that I did not declare in Excel "Date (weekly and montly)" as date they appear just as simple numbers.
On 05.08.2014 the user FSmit posted as similar problem and user ragulduy replied with a possible solution. Unfortunately, I've tried it and it does not work for me. I would like to mention also that I am using MS Office 2010.
Please find attached the example in .xlsx format.
I would like to thank you in advance for your help and time.
Best regards, Marian
Bookmarks