LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
sd
 
Posts: n/a
Default sumproduct help

I have a sumproduct formula with 2 arrays
the formula for first array returns 12 values per year whereas the second
array returns just 1 value per year
I get an error as the size of the 2 arrays are not the same.

A part of the formula formula looks as

SUMPRODUCT(((IPMT($B$2/12,ROW(INDIRECT("1:"&$B$13*12)),$B$1,-$B$3))),(1/((1+$B$14))^ROW(INDIRECT("1:"&$B$13)))

the first part of array returns the interest paid during a particular period
(cell B13 holds say 5 years, therefore 12 * 5 = 60 months) and returns 60
values instead of 5 that I am looking for.
and the second part computes the discount factor for each year. I can
multiply the second array by 12 to make it of the same size as first but
that is NOT what I need.
I need the the sum of 12 months for each year to be multiplied so that the
formula would look something like this

=sumproduct((1200,1145,1135,1130,,,,),(.90,.85,.82 ,.80,,,,,,)

where on first array 1200 is the sum of months 1 thru 12 , 1145 the sum of
month 13 thru 24 etc etc.
and on second array 0.90 is the discount factor for year 1, 0.85 for year 2
etc.


Any help will be greatly appreciated preferably without the use of any
helper column.



 
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 ... Empty Cells vs Spaces? Ken Excel Discussion (Misc queries) 9 December 17th 04 08:03 PM
Sumif not Sumproduct David Excel Worksheet Functions 4 December 8th 04 11:39 AM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM
Sumproduct in Excel Spreadsheet to read Access db table Jules Excel Worksheet Functions 1 November 9th 04 02:50 PM


All times are GMT +1. The time now is 10:24 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"