Hello,
I have this formula below, which averages 10 data points from a different spreadsheet onto this new spreadsheet and if the cells are empty fills them with the average. However, when I drag the formula across to other columns, it uses this same average calculated from the previous 10 data points. Any tips on how to fix this formula? Also, any tips on how to add an error statement so that if the calculations make errors (due to missing data) to leave the cells blanks? I've messed this up several times already and would appreciate any help.
=IF('HMIS Raw - DH, CRH, HC'!C2<>"",'HMIS Raw - DH, CRH, HC'!C2,AVERAGE('HMIS Raw - DH, CRH, HC'!$C$2:$C$13))
Thanks!
I have this formula below, which averages 10 data points from a different spreadsheet onto this new spreadsheet and if the cells are empty fills them with the average. However, when I drag the formula across to other columns, it uses this same average calculated from the previous 10 data points. Any tips on how to fix this formula? Also, any tips on how to add an error statement so that if the calculations make errors (due to missing data) to leave the cells blanks? I've messed this up several times already and would appreciate any help.
=IF('HMIS Raw - DH, CRH, HC'!C2<>"",'HMIS Raw - DH, CRH, HC'!C2,AVERAGE('HMIS Raw - DH, CRH, HC'!$C$2:$C$13))
Thanks!