This is a tricky one! On sheet1, I have a column with dates and another column with values:
ie Date Values
1/07/02 23
1/07/02 20
1/07/02 12
2/07/02 25
3/07/02 19
3/07/02 19
On sheet2!B1, I have a cell where the user enters in the number of values required before working out the average. Eg 3 means we would work out the average of 23, 20 and 12, then 25, 19 and 19 etc. 2 means we only work out the average of 23 and 20, then 25 and 19 and so on. The result of this would be plugged into cell Sheet2! B3, B4 etc. In cell Sheet2!A3, A4 etc would go the date of the 1st value used to work out the average. ie if we work out the average every 2nd value, sheet2 would look something like this:
2
Date Average
1/07/02 21.5
1/07/02 18.5
3/07/02 19
This would be done until there are no more values left on sheet1 with which to calculate an average with.
I am fiddling around trying to do it myself but I am getting nowhere fast. Any help would be appreciated! Thanks.
ie Date Values
1/07/02 23
1/07/02 20
1/07/02 12
2/07/02 25
3/07/02 19
3/07/02 19
On sheet2!B1, I have a cell where the user enters in the number of values required before working out the average. Eg 3 means we would work out the average of 23, 20 and 12, then 25, 19 and 19 etc. 2 means we only work out the average of 23 and 20, then 25 and 19 and so on. The result of this would be plugged into cell Sheet2! B3, B4 etc. In cell Sheet2!A3, A4 etc would go the date of the 1st value used to work out the average. ie if we work out the average every 2nd value, sheet2 would look something like this:
2
Date Average
1/07/02 21.5
1/07/02 18.5
3/07/02 19
This would be done until there are no more values left on sheet1 with which to calculate an average with.
I am fiddling around trying to do it myself but I am getting nowhere fast. Any help would be appreciated! Thanks.