
Originally Posted by
tigertiger
If you like that, you can use the following formula for cell C2:
=IF(ROW()-1<Sheet2!$B$1+Sheet2!$B$2,"",AVERAGE(INDIRECT("B"&(ROW()-Sheet2!$B$1+1-Sheet2!$B$2)&":B"&(ROW()-Sheet2!$B$2))))
and then fill-Copy for C3,C4,......
IF YOU want to know the range in D2 you paste the formula, and then file D3,D4,..... =>> it will show the range to caculate AVERAGE
=IF(ROW()-1<Sheet2!$B$1+Sheet2!$B$2,""," Average of B"&(ROW()-Sheet2!$B$1+1-Sheet2!$B$2)&":B"&(ROW()-Sheet2!$B$2) )
is that true: ?
Bookmarks