ok, another question for my amortization schedule

Posted on 2011-09-20
Last Modified: 2012-06-21
I want to lock the report tab so nobody can change it and nobody has to, but there is an issue if a payment is made before the 31st day of the loan.  Say i make a payment on the 3rd day of the loan, the report attempts to pull information that does not exist.  Is there a way to show the information for each payment if made before the first 31 days without it pulling for info before the start date while simultaneously allowing the report to show 31 days of activity?
The spreadsheet is attached
Question by:binaryman101
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3

Expert Comment

ID: 36571138
I can't tell if it is working or not when I put numbers in here ... can you test it with:

Cell B21 =IF(B22-31<TODAY()-31,TODAY()-31,B22-31)
Cell B22 =IF(A17-31<TODAY()-31,TODAY(),A17-31)

Author Comment

ID: 36573711
I tested this, but it doesn't match the dates of the payments or the schedule.  I wish I automatically knew more about advanced formulas.  

Expert Comment

ID: 36574568
No problem ... how about this in cell B23:

=IFERROR(MATCH(B21,'Loan Data'!B:B,0),MATCH(B22-'Loan Data'!B18,'Loan Data'!A:A,0))

This says, if there is an error in the original formula, then instead of matching the Report Date, match the End Date minus the earliest date in column A on the data sheet (cell B18 on the data sheet).
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.


Author Comment

ID: 36574675
This is extremely close to what i need.  When I inserted the formula, the report shows the payment date and the date before it.  But, it also shows the next 25 or so days that haven't happened yet.  I need the schedule on the report to show from the loan start date to the payment date, that is until the schedule goes past the first 31 days of the loan, then i need it to show the past 31 days of activity, like it has been. Thanks again.

Expert Comment

ID: 36579923
Sorry for the delay, I will work on this and post again a bit later.  Thanks for your patience!

Accepted Solution

BusyMama earned 500 total points
ID: 36580168
Is it OK to change cell B21 to:

=MAX(B22-31,'Loan Data'!B18)

This will either subtract 31 days from the end date (which is what you have now), or it will use the earliest date of the loan from the data sheet, whichever is bigger.  On the copy I'm using to play with it seems to fix the problem you mentioned.

Let me know!

Author Closing Comment

ID: 36580529
I think you just made my day!

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This article describes a serious pitfall that can happen when deleting shapes using VBA.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question