LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.newusers,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default #VALUE! from SUMPRODUCT

You're welcome!

--
Biff
Microsoft Excel MVP


"gte" wrote in message
...
That's it :-)

Thanks,

"T. Valko" wrote in message
...
I can't explain exactly what the cause is as it relates to OFFSET but the
problem is being caused by the ROW function. ROW returns an array. Even if
it's a single element it's still an array.

So, this is what's returning the error:

OFFSET($H$58,{n},0,51,1)

This will work:

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

--
Biff
Microsoft Excel MVP


"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,










 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
Sumproduct? Grant Excel Worksheet Functions 2 February 5th 07 07:30 PM
how to use sumproduct alias abuhasan Excel Worksheet Functions 1 November 15th 05 03:45 AM
SUMPRODUCT Sho Excel Worksheet Functions 5 November 11th 05 10:47 AM
Using SumProduct in VB Michael Excel Discussion (Misc queries) 4 November 10th 05 06:16 PM


All times are GMT +1. The time now is 02:35 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"