Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default SUMPRODUCT Help Please

"Joe Gieder" wrote:
It worked great thank you


Good to hear that.

.. what does L2:p2,,,7050 do?


=SUMPRODUCT(($R$2:$R$7051=R2)*OFFSET($L$2:$P2,,,70 50))


$L$2:$P2 is the OFFSET's reference range (horiz ref range here). The 7050 is
the height param to sync with the range size in col R ($R$2:$R$7051) which
effectively "extends" the horiz ref range to cover all of L2:P7051

Alternatively we could also use:
=SUMPRODUCT(($R$2:$R$7051=R2)*OFFSET($L$2:$L7051,, ,,5))
where $L$2:$L7051 is the OFFSET's vertical ref range, sized equal to
$R$2:$R$7051, while the 5 is the width param to extend it to cover all of
L2:P7051, as before.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default SUMPRODUCT Help Please

whoops ... think the OFFSET wasn't necessary here

This simpler version seems to work just as well:
=SUMPRODUCT(($R$2:$R$7051=R2)*($L$2:$P$7051))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
Reply
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 help TiaB Excel Worksheet Functions 1 September 27th 06 02:54 AM
Sumproduct sanders Excel Discussion (Misc queries) 2 August 18th 06 09:10 PM
Can I use SUMPRODUCT for this? cottage6 Excel Worksheet Functions 5 November 15th 05 10:09 PM
how to use sumproduct alias abuhasan Excel Worksheet Functions 1 November 15th 05 03:45 AM
SUMPRODUCT vs CSE Ron Coderre Excel Worksheet Functions 4 June 3rd 05 05:34 PM


All times are GMT +1. The time now is 08:41 PM.

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

About Us

"It's about Microsoft Excel"