Hi,
On Sheet 1 I have:
A row of consecutive monthly dates (Jan-14, Feb-14, Mar-14, Apr-14 etc.) - let's call them A1-Z1
A row below with Sales figures for each month (1,2,3,4,5 etc.) - let's call them B1 - Z1
On Sheet 2 I have:
A row of dates which represent different period end dates which are not all the same length (eg. Mar-14, Dec-14, Dec-15, Dec-16, Jun-17 etc.) - let's call them A1 - H1
I would like to create a row under these period end dates (let's call them A2 - H2) which return the Sales figure associated with the period from one date to the next (i.e. the number under Dec-14 should sum Sales from Mar-14 to Dec-14) by looking at the monthly figures in Sheet 1.
I considered using HLOOKUP to get the monthly figures from Sheet 1 and then somehow summing them but am at a bit of a loss as to how to make the SUM reference a dynamic function of the period end dates on Sheet 2.
Any ideas would be welcome.
Thank you.
On Sheet 1 I have:
A row of consecutive monthly dates (Jan-14, Feb-14, Mar-14, Apr-14 etc.) - let's call them A1-Z1
A row below with Sales figures for each month (1,2,3,4,5 etc.) - let's call them B1 - Z1
On Sheet 2 I have:
A row of dates which represent different period end dates which are not all the same length (eg. Mar-14, Dec-14, Dec-15, Dec-16, Jun-17 etc.) - let's call them A1 - H1
I would like to create a row under these period end dates (let's call them A2 - H2) which return the Sales figure associated with the period from one date to the next (i.e. the number under Dec-14 should sum Sales from Mar-14 to Dec-14) by looking at the monthly figures in Sheet 1.
I considered using HLOOKUP to get the monthly figures from Sheet 1 and then somehow summing them but am at a bit of a loss as to how to make the SUM reference a dynamic function of the period end dates on Sheet 2.
Any ideas would be welcome.
Thank you.