Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Creating a List of Loan Periods Dynamically

I am creating a Loan Amortization schedule and would like to configure it to
autmatically populate the list of periods based on the number of periods in
the loan. Is this possible, and if so, how would one do it. Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default Creating a List of Loan Periods Dynamically

David,

You can use an event. For example, the code below will copy row 5 down for enough rows to match the
number entered in cell C2. This assumes that Row 5 has the formulas needed to created the
amortization table.

Copy the code, right-click the sheet tab, and select "View Code", then paste the code in the window
that appears.

HTH,
Bernie
MS Excel MVP

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address < "$C$2" Then Exit Sub
Application.EnableEvents = False
Range("6:65536").Clear
Range("5:5").Copy Range("5:" & Target.Value + 4)
Application.EnableEvents = True
End Sub



"David Treptor" wrote in message
...
I am creating a Loan Amortization schedule and would like to configure it to
autmatically populate the list of periods based on the number of periods in
the loan. Is this possible, and if so, how would one do it. Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 219
Default Creating a List of Loan Periods Dynamically

I am creating a Loan Amortization schedule and would like to configure it to
autmatically populate the list of periods based on the number of periods in
the loan. Is this possible, and if so, how would one do it. Thanks.

Assume cell B4 contains the Loan Start Date.
Assume cell A7 is the first period
Assume cell A8 is the second period
Assume each period is one month

1) make sure the 'Analysis ToolPak' addin is active
2) format cells A7 and A8 as DATE (mmm-yyyy)
3) formula in A7...
=EOMONTH(B4,0)+1
4) formula in A8...
=EOMONTH(A7,1)
5) copy the formula in A8 down the appropriate # of rows for the
amortization table

HTH,
--
Gary Brown

If this post was helpful, please click the ''Yes'' button next to ''Was this
Post Helpfull to you?''.


"David Treptor" wrote:

I am creating a Loan Amortization schedule and would like to configure it to
autmatically populate the list of periods based on the number of periods in
the loan. Is this possible, and if so, how would one do it. Thanks.

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
Creating a list (data validation) fromt wo different source ranges tony Excel Discussion (Misc queries) 1 August 1st 06 03:40 AM
Subtotals in a list Bagheera Excel Discussion (Misc queries) 9 May 20th 06 01:46 PM
Creating a numercal list Komie Excel Discussion (Misc queries) 1 March 10th 06 10:51 PM
Creating seperate sheet lists from larger list macquarl Excel Discussion (Misc queries) 1 October 19th 05 10:17 PM
Creating a list from an existing list. Jad Excel Worksheet Functions 1 October 29th 04 06:00 AM


All times are GMT +1. The time now is 03:33 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"