I had requested file earlier and Martin Wilson graciously helped me out with my problem. I have another issue in the same file.
In the attached excel file, I have raw data which needs to be randomly sampled.
1979-2008
Here in the excel I am computing averages. What I need to do is incorporate a formula if a cell is selected.
1: Treat the cell selected as T7. Move up 7 years and select cell as T1 and incorporate the following formula --> (T7/T1)^(1/7)-1 which will give me the compounded annual growth rate. Example: if the random cell selected is August 2000 (H23 in Excel Sheet1) then the formula will be such (H23/H17)^(1/7)-1 . this also means that the cells above 1985 cannot be randomly selected as the simulation will move up....
Additionally on Sheet 2, I want the data to move up and select seven 12 month periods i.e. if Random cell is May 2000(in excel sheet 2 - H23) then the seventh period should be June 1993 (in excel sheet 2 - I17). the simulation should average all the cells in between, rows and columns.
I have been trying and trying but can't seem to get it to work. Please help Thanks
Rahul
Bookmarks