LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 102
Default Sumproduct formula

Hi All

Is there a smarter way of doing this SUMPRODUCT formula?

I'm finding different duration totals and multiplying the total by a
different ratio for each duration
e.g.
find the 30 durations and multiple by the 30 ratio of 0.5 (cell name =
'thirty'),
find the 5 durations and multiple by the 5 ratio of 0.05 (cell name = 'five')
etc

All named ranges are the same size i.e. cells 35:76

$D217 = the market to search for in
the named range "market" = range (A35:A76)

BO198 = the duration to search for in
the named range "duration" = range(B35:B76)

All parts are the same except for:
- the "duration =$BO$198" section which needs to move one column right each
time
- the named ranges must change (in the order as per the current formula)
"thirty" or "five" or "ten" etc

I also need to be able to copy the formula across 52 columns and down 10 rows.


=SUM(((SUMPRODUCT((market=$D217)*(duration=$BO$198 ),I$35:I$76)*thirty
+SUMPRODUCT((market=$D217)*(duration=$BP$198),I$35 :I$76)*five
+SUMPRODUCT((market=$D217)*(duration=$BQ$198),I$35 :I$76)*ten
+SUMPRODUCT((market=$D217)*(duration=$BR$198),I$35 :I$76)*fifteen
+SUMPRODUCT((market=$D217)*(duration=$BS$198),I$35 :I$76)*twenty
+SUMPRODUCT((market=$D217)*(duration=$BT$198),I$35 :I$76)*fortyfive
+SUMPRODUCT((market=$D217)*(duration=$BU$198),I$35 :I$76)*Sixty
+SUMPRODUCT((market=$D217)*(duration=$BV$198),I$35 :I$76)*ninety
+SUMPRODUCT((market=$D217)*(duration=$BW$198),I$35 :I$76)*onetwenty)*10))*$G217

Any advice would be greatly appreciated.
--
Thank for your help
BeSmart
 
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
Need help with sumproduct formula Nielly Excel Worksheet Functions 1 August 27th 09 05:35 PM
SUMPRODUCT Formula kay Excel Discussion (Misc queries) 6 September 29th 08 03:01 PM
Nesting a sumproduct formula within a sumif formula. jerrymcm Excel Discussion (Misc queries) 2 October 3rd 07 03:35 PM
sumproduct formula Stacey Excel Discussion (Misc queries) 6 March 29th 07 11:38 PM
Help On SUMPRODUCT Formula Joe Gieder Excel Worksheet Functions 2 January 27th 05 05:56 PM


All times are GMT +1. The time now is 05:36 AM.

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"