LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Dynamic Sum Array Formula Input Help

I am trying to create a dynamic formula to calculate the total
interest paid on a $100,000 loan over a period of K years. As I have
the formula written now, it calculates this over a period of 5 years
(A2:A6).

={SUM(ISPMT(rate,per,nper,pv))}


The sheet looks like this:

A B C
1 5% 30 100,000
2 1
3 2
4 3
5 4
6 5

={SUM(ISPMT(A1,A2:A6,B1,C1))}

The result correctly = -$22,500


As it stands now the 'per' variable in the array summation is 1, 2, 3,
4, and 5 as represented in A2:A6. Is there a way to make this formula
completely dynamic in the sense that "A2:A6" can be replaced with
something like "1:5" so that the formula would look something like
this:

={SUM(ISPMT(A1,[1:5],B1,C1))} where [1:5] will represent years 1, 2,
3, 4, and 5 in the array?

Or in cell D1 can I dynamically enter the number of years I want to
calculate so that the formula like:
={SUM(ISPMT(A1,[1:D1],B1,C1))}, where if the number 5 is entered in
D1, the "[1:D1]" in the array represents years 1, 2, 3, 4, and 5?.

Please advise.


 
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
Dynamic report based on user input C02C04 Excel Discussion (Misc queries) 7 November 26th 08 03:45 PM
How to read offset cells from dynamic sort array formula? Jay Weiss Excel Discussion (Misc queries) 1 September 20th 07 07:11 PM
macro with dynamic input Ahmaq Excel Worksheet Functions 2 April 24th 07 01:06 PM
array formula with a dynamic range. Dave Excel Worksheet Functions 2 June 26th 06 06:16 AM
ADDRESS function - dynamic input cell claytorm Excel Discussion (Misc queries) 1 June 28th 05 02:05 PM


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