Lanthanide
New Member
I've taken the default Excel loan amortization and made some changes, to use it to model my mortgage. Specifically in New Zealand, we have a lot of interest rate changes in our mortgages (not like the US where they are typically fixed-rate for the duration).
The interest rate changes usually don't line up neatly with the repayment period for the loan. Eg the next repayment might be on the 20th of the month, and the interest rate was previously 6%, but on the 10th it reduces to 5.5%. The interest is calculated daily, so in this case you'd need ~20 days of interest at 6% and 10 days at 5.5%, or an average monthly interest rate of 5.83%.
I've done some googling and solved two problems to setting up the spreadsheet to calculate the average monthly interest rate easily, but I can't find a way to do the final step, which requires getting an array of minimum values, eg:
Given column A with values in cells A1, A2, A3, A4, I need to MIN operation for each of these cells against another single cell, B1, eg:
MIN(A1,B1), MIN(A2,B1), MIN(A3,B1), MIN(A4,B1). I suspect this is ends up being an 'array' formula but I'm not really familiar with these.
Anyway, here is a google sheets example, which should be editable, highlighting the result I want to calculate (hopefully with the above explanation this will all make sense).
https://docs.google.com/spreadsheets/d/10PW16teIDVOLJiyfj8KQxxYyOUBvcpoberu2InetWpM/edit?usp=sharing
The solutions I googled that I'm using in this sheet are the following:
http://chandoo.org/wp/2010/06/30/range-lookup-excel/
http://chandoo.org/wp/2010/07/07/days-overlapped-excel-formula/
The interest rate changes usually don't line up neatly with the repayment period for the loan. Eg the next repayment might be on the 20th of the month, and the interest rate was previously 6%, but on the 10th it reduces to 5.5%. The interest is calculated daily, so in this case you'd need ~20 days of interest at 6% and 10 days at 5.5%, or an average monthly interest rate of 5.83%.
I've done some googling and solved two problems to setting up the spreadsheet to calculate the average monthly interest rate easily, but I can't find a way to do the final step, which requires getting an array of minimum values, eg:
Given column A with values in cells A1, A2, A3, A4, I need to MIN operation for each of these cells against another single cell, B1, eg:
MIN(A1,B1), MIN(A2,B1), MIN(A3,B1), MIN(A4,B1). I suspect this is ends up being an 'array' formula but I'm not really familiar with these.
Anyway, here is a google sheets example, which should be editable, highlighting the result I want to calculate (hopefully with the above explanation this will all make sense).
https://docs.google.com/spreadsheets/d/10PW16teIDVOLJiyfj8KQxxYyOUBvcpoberu2InetWpM/edit?usp=sharing
The solutions I googled that I'm using in this sheet are the following:
http://chandoo.org/wp/2010/06/30/range-lookup-excel/
http://chandoo.org/wp/2010/07/07/days-overlapped-excel-formula/