1) now need for sheet refernce twice:
=SUM(INDIRECT("RawData!F" & ROW()-D$1+1&":F" &ROW()))
2) if D1 has value 4, this formula will give REF error in any row less than
4 since the expression Row()-4+1 will evaluate to a negative number in rows
prior to 4
best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
"Tom" <(E-Mail Removed)> wrote in message
news:346247FB-1AAA-4D2F-B00F-(E-Mail Removed)...
> Excel 2007 SP2+
>
> I'm getting a #REF error on this:
> =IF(D$1+1<=ROW(),SUM(INDIRECT("RawData!F" & ROW()-D$1+1&":RawData!F" &
> ROW())),"")
>
> I've tried several ideas... none of them work to resolve the #REF errors.
> SOME ideas I've tried: Format to be General, Format to be Number (0
> decimal
> places), Format to be Text for the D$1 cell. The format on the RawData!
> cells are numeric.
> In stepping through the calculations, everything appears to work fine
> except
> for the final calculation on
> "IF(TRUE,SUM(INDIRECT("RawData!F2:RawData!F5")),"). Once THIS calculation
> is
> performed I receive the #REF error message. I receive
> IF(TRUE,(SUM(#REF!),""). So, the issue is evidently relating to the
> RawData
> cells and/or the format of the cell types or ????.
> Thanks!
>
> ANY assistance would be appreciated. The format for the cells to store
> the
> SUM calculated values are numeric.
> I'm totally lost! ;-(
>