Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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! ;-( |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On Sat, 19 Sep 2009 09:38:01 -0700, Tom
wrote: =IF(D$1+1<=ROW(),SUM(INDIRECT("RawData!F" & ROW()-D$1+1&":RawData!F" & ROW())),"") Try to remove the second "RawData!", like this: =IF(D$1+1<=ROW(),SUM(INDIRECT("RawData!F" & ROW()-D$1+1&":F" & ROW())),"") Hope this helps / Lars-Åke |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
THANKS, Lars, how did you know that?
How can I get up to your level of expertise? Tom "Lars-Ã…ke Aspelin" wrote: On Sat, 19 Sep 2009 09:38:01 -0700, Tom wrote: =IF(D$1+1<=ROW(),SUM(INDIRECT("RawData!F" & ROW()-D$1+1&":RawData!F" & ROW())),"") Try to remove the second "RawData!", like this: =IF(D$1+1<=ROW(),SUM(INDIRECT("RawData!F" & ROW()-D$1+1&":F" & ROW())),"") Hope this helps / Lars-Ã…ke |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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" wrote in message ... 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! ;-( |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks for pointing this out!
Much appreciation! "Bernard Liengme" wrote: 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" wrote in message ... 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! ;-( |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2007 - error saving file & error loading dll | Excel Discussion (Misc queries) | |||
Visual Basic Error Run Time Error, Type Mismatch | Excel Discussion (Misc queries) | |||
Counting instances of found text (Excel error? Or user error?) | Excel Worksheet Functions | |||
I have Error 1919 Error Configuring ODBC dataSource Database | Excel Discussion (Misc queries) |