Macro to help fill in row data between dates

Copper Contributor

HI, I have been beating my head against this problem for some time but haven't yet managed to find a solution. I have an extensive spread sheet of financial data that i am trying to transpose into a different format. I am sure a VBA script will do the job but i am very inexperienced in VBA coding and everything i have tired so far has failed.

I am trying to make this (sample only):

IndexStart DateEnd DateMonthly Cost
index 101/01/201525/04/2015£100
index 202/04/201703/06/2017£120
index 303/05/201301/08/2013£150

 

Look like this:

IndexStart DateEnd DateMonthly CostBilling Date
index 115/01/201525/04/2015£5015/01/2015
index 115/01/201525/04/2015£10001/02/2015
index 115/01/201525/04/2015£10001/03/2015
index 115/01/201525/04/2015£33.3001/04/2015
index 210/04/201710/06/2017£8010/04/2017
index 210/04/201710/06/2017£12001/05/2017
index 210/04/201710/06/2017£4001/06/2017
index 305/05/201330/08/2013£12505/05/2013
index 305/05/201330/08/2013£15001/06/2013
index 305/05/201330/08/2013£15001/07/2013
index 305/05/201330/08/2013£15001/08/2013

 

I have other data in other columns that i would also need to copy down but it wouldn't need to change just stay aligned to the correct index (in case it makes a difference i am using Excel 2013).

 

Any help would be much appreciated.

0 Replies