Autofill data across columns based on dates

Copper Contributor

Having some trouble autofilling a spreadsheet to include phased revenue across months.

Column Headers Horizontally are:
Project Name Project Start Date Project End Date Project Duration (Months) Monthly Value

Then more that are titled months:
June 19 July 19 August 19 etc

I want to be able to put a formula in all the month-headed cells so that when the first half of the info is populated, they autofill with info, as per the below:

eg:
Name /Start Date /End Date /(Months) /Monthly Value /June/ July /Aug /Sept / Oct
London/June/ Aug/2 /10 /10 /10 /10
Bristol/July/ Oct/ 4 /45 / /45 /45 /45 /45

 

Any ideas?
thanks
Ellie

1 Reply

@eeJFTS hello there. I'm assuming you want the same 'Monthly Value' to appear in the month columns dependent on their start and end dates. If so, you could use something like the below formula. It was used in cell G2 of your sample spreadsheet. You can copy it right and down.

 

=IF(AND(G$1>=EOMONTH($C2,-1)+1,G$1<=EOMONTH($D2,0)),$F2,0)

 

HTH