Ok.. what I'm trying to do:
My observations, around 4000 per column, are on sheet 1. Starting with the first column, I want to calculate the population variance (VARP) of each set of 21 observations (range of +20 rows down), put the result on sheet 2 and then do the same for the next 21, put the result below the first result on sheet 2 and so on until the observations run out. This should be done for all the columns.
I tried building the inner loop for calculating VARP but I'm not sure how to increment and select the range of 21 rows to feed to VARP. Any help here would be highly appreciated!
My observations, around 4000 per column, are on sheet 1. Starting with the first column, I want to calculate the population variance (VARP) of each set of 21 observations (range of +20 rows down), put the result on sheet 2 and then do the same for the next 21, put the result below the first result on sheet 2 and so on until the observations run out. This should be done for all the columns.
I tried building the inner loop for calculating VARP but I'm not sure how to increment and select the range of 21 rows to feed to VARP. Any help here would be highly appreciated!