#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.



  #2   Report Post  
Harlan Grove
 
Posts: n/a
Default

sd wrote...
....
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


What you seem to want to do is theoretically flawed. First off, discounting
amortized interest is theoretically meaningless on its own. Second, if
you're making monthly payments, then the interest paid in each monthly
payment should be discounted at the effective interest rate appropriate for
that month. Summing interest paid during a year then applying a different
annual intererst rate to discount those payments produces a thoroughly
meaningless result.

Better to consider using

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


  #3   Report Post  
sd
 
Posts: n/a
Default

Thanks Harlan Grove for the reply
The reason I discount the amortized Interest payment is to compute the PV of
tax savings that accrue year over year. The discount rate applied is the
rate that an alternative investment would earn otherwise and would very well
be different from the interest rate on the loan.



"Harlan Grove" wrote in message
...
sd wrote...
...
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


What you seem to want to do is theoretically flawed. First off,
discounting
amortized interest is theoretically meaningless on its own. Second, if
you're making monthly payments, then the interest paid in each monthly
payment should be discounted at the effective interest rate appropriate
for
that month. Summing interest paid during a year then applying a different
annual intererst rate to discount those payments produces a thoroughly
meaningless result.

Better to consider using

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




  #4   Report Post  
 
Posts: n/a
Default

sd wrote:
The reason I discount the amortized Interest payment is to compute the

PV of
tax savings that accrue year over year. The discount rate applied is

the
rate that an alternative investment would earn otherwise and would

very well
be different from the interest rate on the loan.

....

If you're comparing opportunity costs of buying a house with a mortgage
vs renting and investing what would have been your equity in the house,
then the correct way to do that is to compare the present value of the
principal and interest payments on the mortgage *PLUS* the expected net
resale value of the house at the end of the period in question against
the present value of rental costs, invenstment income and the expected
principal value of the investment at the end of the period in question.
Set up both as monthly cashflows, and calculate their PVs using the NPV
function with the same *monthly* effective discount rate.

The main flaw in your original formula was accumulating monthly
interest payments by year, then discounting those annualized amount as
if they occurred at the end of each year. That would significantly
overstate the discount on your interest payments since you'd discount
all monthly payments as if they were made at 12 months rather than 11
of them 1, 2, 3, . . ., 11 months sooner, especially since standard
amortization means the interest portion of constant payments decreases
over time (since the principal balance decreases, and amortized
interest is based on the principal balance at the time of the payment).

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 ... 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 06:08 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"