View Single Post
  #6   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.newusers,microsoft.public.excel.worksheet.functions
gte[_2_] gte[_2_] is offline
external usenet poster
 
Posts: 8
Default #VALUE! from SUMPRODUCT

Yes it is in row 58. But the problem is row(), this returns an array. Using
INDEX(ROW();1) returns an integer, then OFFSET works fine (see another
message in this thread)

Thanks for replies...

"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
Was your original formula
=SUMPRODUCT($I$58:$I$108;OFFSET($H$58;58-ROW();0;51;1)) sitting in row 58?
If it wasn't, then it wouldn't return the same result.
--
David Biddulph

"gte" wrote in message
...
I have a problem with SUMPRODUCT. If I use this function:

=SUMPRODUCT($I$58:$I$108;OFFSET($H$58;58-ROW();0;51;1))

I get #VALUE! error.

But if I calculate

=58-ROW()

in a new cell (K58) and uses this cell instead:

=SUMPRODUCT($I$58:$I$108;OFFSET($H$58;K58;0;51;1))

then it works fine. What is wrong with the "58-ROW()" calculation inside
the OFFSET function?


Thanks in advance,
Regards,