Solved

99.99% working, but last .01% is the devil

Posted on 2011-09-22
8
214 Views
Last Modified: 2012-05-12
Attached is the spreadsheet that I am working with.  Everything works except if a payment is made on the first date of the loan.  If a payment is made on that date, the report does not work, and I don't know how to fix that.  
Copy-of-Amortization-on-a-Simple.xls
0
Comment
Question by:binaryman101
  • 5
  • 3
8 Comments
 
LVL 7

Expert Comment

by:BusyMama
ID: 36580843
You are so funny!

If this doesn't work, then please reattach with an unprotected version of that sheet.

Try this in cell C17:

=IFERROR(INDEX('Loan Data'!$B$18:$K$11017,MATCH(A17,'Loan Data'!$B$18:$B$11017,0),6)+(INDEX('Loan Data'!$B$18:$K$11017,MATCH(A17,'Loan Data'!$B$18:$B$11017,0)-1,7)),INDEX('Loan Data'!$B$18:$K$11017,MATCH(A17,'Loan Data'!$B$18:$B$11017,0),6)+(INDEX('Loan Data'!$B$18:$K$11017,MATCH(A17,'Loan Data'!$B$18:$B$11017,0),7)))

It is because you are subtracting 1 from the date in the original formula, and then it can't match.  I put in a formula that says, if there's no match, then try it without subtracting 1 from the date and give me that information instead.
0
 

Author Comment

by:binaryman101
ID: 36580981
my bad for attaching the protected version...i have been tinkering with it.  I placed that formula in, but it doubled the amount of interest that should have been paid.  On that first day, it should only pay the interest for that day.  I understand why it is doing that, but how do I correct it.  I will attach the unprotected version, but if for some reason that it is protected again, the password is "loan"


Copy-of-Amortization-on-a-Simple.xls
0
 
LVL 7

Expert Comment

by:BusyMama
ID: 36581005
Oops ... well, don't you want to collect more money?  ;)

=IFERROR(INDEX('Loan Data'!$B$18:$K$11017,MATCH(A17,'Loan Data'!$B$18:$B$11017,0),6)+(INDEX('Loan Data'!$B$18:$K$11017,MATCH(A17,'Loan Data'!$B$18:$B$11017,0)-1,7)),INDEX('Loan Data'!$B$18:$K$11017,MATCH(A17,'Loan Data'!$B$18:$B$11017,0),6))
0
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 

Author Comment

by:binaryman101
ID: 36581046
lol, now who's the funny one? :)  That works much better.  Thanks again for all of the help
0
 

Author Comment

by:binaryman101
ID: 36581061
I did find one other issue.  The principal balance did not decrease because it's formula is a min formula, and obviously there is nothing to pull from other than the original loan balance.  How can I show that reduced if the payment is on the first, and yet keep the principal balance to show the accurate amount throughout the rest of the loan?
0
 
LVL 7

Accepted Solution

by:
BusyMama earned 500 total points
ID: 36581147
How about this in cell F17 (Principal Balance):

=IF(MIN('Loan Data'!I18:I40572)<D9,MIN('Loan Data'!I18:I40572),MIN('Loan Data'!I18:I40572)-D17)

This says, if the minimum loan balance in the data sheet (what we were originally inputting) is less than the original loan balance in cell D9, then go ahead with the minimum loan balance in the data sheet; but if the minimum loan balance isn't less than the original loan balance, then use the minimum minus the amount of principle in cell D17.
0
 

Author Comment

by:binaryman101
ID: 36581266
You are totally awesome!  I think the best thing you do, is explain your formulas.  When you give me the written logic, it helps me learn them much easier.  Thanks again, and you should so get more than 500 points.
0
 

Author Closing Comment

by:binaryman101
ID: 36581271
Busy Mama rocks!
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

786 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