Overdraft interest model

N

neilangelo

I want to create an overdraft interest model. The model should allow fo
the following:

i) The spreadsheet should have 30 or 31 days depending on the amount o
days in the month. I would like it if the user inputs the month an
year (in a input cell )then the spreadsheet will automatically show al
the days in that month in the column going down

ii) I want the user to input his/her daily overdraft balance in th
spreadsheet. The spreadsheet should then calculate interest based o
the current interest rate. This should be an input cell specified i
the user should input his current bank rates

iii) The model is two tiered...meaning for balances under say $15m th
interest rate will be say 4% and for balances over $15m interest of 6
should be applied to the incremental amount over $15m.

Please help..
 
N

Norman Harker

Hi Neil!

Try the following:

A1: 4
A2: 2004
A3: -14999000

A5:
=DATE(A2,A1,1)
A6:
=IF(A5="","",IF(MONTH(A5+1)<>$A$1,"",A5+1))
Copy down to A35
C5:
=A3
B6:
=IF(A6="","",IF(C5>0,C5*((1+2%/12)^(12/365)-1),IF(C5>=-15000000,C5*((1+4%/12)^(12/365)-1),(C5*((1+4%/12)^(12/365)-1))+((C5-15000000)*((1+2%/12)^(12/365)-1)))))
C6:
=IF(A6="","",C5+B6)
Select B6 and C6
Copy down to B35 and C35

I've assumed that the rates quoted are Nominal compounded monthly and
that the bank charges or credits using the daily effective equivalent.

I've also assumed a rate of 2% is credited if the balance is positive.

--
Regards
Norman Harker MVP (Excel)
Sydney, Australia
(e-mail address removed)

It is imperative that the patches provided by Microsoft in its April
Security Release be applied to Systems as soon as possible. It is
believed that the likelihood of a worm being released SOON that
exploits one of the vulnerabilities addressed by these patches is VERY
HIGH.
See:
http://www.microsoft.com/security/protect/
 
A

Anders S

Norman,

Beautiful!

I amazed that you could figure this out so quickly.

Best <vbg> regards
Anders Silven

Norman Harker said:
Hi Neil!

Try the following:

A1: 4
A2: 2004
A3: -14999000

A5:
=DATE(A2,A1,1)
A6:
=IF(A5="","",IF(MONTH(A5+1)<>$A$1,"",A5+1))
Copy down to A35
C5:
=A3
B6:
=IF(A6="","",IF(C5>0,C5*((1+2%/12)^(12/365)-1),IF(C5>=-15000000,C5*((1+4%/12)^(1
2/365)-1),(C5*((1+4%/12)^(12/365)-1))+((C5-15000000)*((1+2%/12)^(12/365)-1)))))
C6:
=IF(A6="","",C5+B6)
Select B6 and C6
Copy down to B35 and C35

I've assumed that the rates quoted are Nominal compounded monthly and
that the bank charges or credits using the daily effective equivalent.

I've also assumed a rate of 2% is credited if the balance is positive.

--
Regards
Norman Harker MVP (Excel)
Sydney, Australia
(e-mail address removed)

It is imperative that the patches provided by Microsoft in its April
Security Release be applied to Systems as soon as possible. It is
believed that the likelihood of a worm being released SOON that
exploits one of the vulnerabilities addressed by these patches is VERY
HIGH.
See:
http://www.microsoft.com/security/protect/
 
N

Norman Harker

Hi Anders!

Pleased to hear it works out OK.

It's a fairly standard approach especially the method of handling
different lengths of months.


--
Regards
Norman Harker MVP (Excel)
Sydney, Australia
(e-mail address removed)

It is imperative that the patches provided by Microsoft in its April
Security Release be applied to Systems as soon as possible. It is
believed that the likelihood of a worm being released SOON that
exploits one of the vulnerabilities addressed by these patches is VERY
HIGH.
See:
http://www.microsoft.com/security/protect/
Anders S said:
Norman,

Beautiful!

I amazed that you could figure this out so quickly.

Best <vbg> regards
Anders Silven
 
N

neilangelo

Thanks Norman,

I just need one additional bit of help. Can someone explain what thes
formulas actually mean..I want to impart the explanation of the formul
to another colleague who is assisting me
 
N

Norman Harker

Hi Neil!

No problem. Never hesitate to ask why or how something works; you'll
get a lot more out of the help that way.

=DATE(A2,A1,1)

DATE function has three arguments. Year, Month, Day. You wanted the
first cell to be day 1 of the month in A1 and the year in A2. I
cheated a little and assumed that in A1 you would have the month
number rather than the month name, but it would be possible to convert
the name to the number using a more complex formula for the month
argument or use an intermediate helper cell.

=IF(A5="","",IF(MONTH(A5+1)<>$A$1,"",A5+1))

Start with the basic:

=IF(MONTH(A5+1)<>$A$1,"",A5+1)

The MONTH function returns the number of a month from a date serial
number argument. The condition argument therefore "asks", "Is the
month of the previous cell's date plus 1 day different from the month
number in A1?" If it is we return "". If it isn't, we just add 1 to
the previous cell's date.

However, that basic formula would hit problems in the second cell
after the last day of the month because in that case the previous cell
has been made "". We therefore "wrap" the basic formula in another IF
function so that if the previous cell is already "" we return "". If
it isn't, we use the basic formula.

=IF(A6="","",IF(C5>0,C5*((1+2%/12)^(12/365)-1),IF(C5>=-15000000,C5*((1+4%/12)^(12/365)-1),(C5*((1+4%/12)^(12/365)-1))+((C5-15000000)*((1+2%/12)^(12/365)-1)))))

Here we've nested another base calculation in a formula that returns
"" if the day column has been made "".

The base formula is:

=IF(C5>=0,C5*((1+2%/12)^(12/365)-1),IF(C5>=-15000000,C5*((1+4%/12)^(12/365)-1),(C5*((1+4%/12)^(12/365)-1))+((C5-15000000)*((1+2%/12)^(12/365)-1))))

There's three cases covered:

Case 1: C5 (the previous balance) > 0
Case 2: C5 >=-15000000
Case 3: C5 Other (in this case that means <15000000 because overdrafts
up to that level are covered by the first two cases.

For each case we have a separate calculation.

So the base formula structure is:

=IF(Case1Condition,Case1Calculation,IF(Case2Condition,Case2Calculation,Case3Calculation))

We have three calculations:

Case 1 Calculation:
C5*((1+2%/12)^(12/365)-1)

C5 is multiplied by an interest rate. I assumed a Nominal rate
compounded monthly and needed to convert to daily effective
equivalent. That is what the following does using a rate of return on
positive balances of 2% Nominal compounded monthly.

((1+2%/12)^(12/365)-1)

This is based upon the general conversion of interest rates formula

(1+Nomx/Freqx)^Freqx = (1+Nomy/Freqy)^Freqy

Note:
Nomx/Freqx = Effx
Nomy/Freqy = Effy
If Freqx or Freqy is 1 then the Nomx or Nomy is annual effective.

Case 2 Calculation:
C5*((1+4%/12)^(12/365)-1)

Same as before only for balances down to 15000000 we use 4%.

Case 3 Calculation:
(C5*((1+4%/12)^(12/365)-1))+((C5-15000000)*((1+2%/12)^(12/365)-1))

Two parts to this calculation; 4% used on the total balance plus
additional 2% on the overdraft above 15000000.

Looking at the problem again, I'd revise the formula to meet a
potential problem that is likely to be noticeable at data entry: I'd
use:

=IF(C5>=0,C5*((1+2%/12)^(12/365)-1),IF(C5>=-15000000,C5*((1+4%/12)^(12/365)-1),(C5*((1+4%/12)^(12/365)-1))+((C5-15000000)*((1+2%/12)^(12/365)-1))))

Notice the first test is C5>=0 and not as before C5>0.

As it was, C5=0 was handled as Case 3 and would produce an interest
calculation for a zero overdraft entry.

--
Regards
Norman Harker MVP (Excel)
Sydney, Australia
(e-mail address removed)

It is imperative that the patches provided by Microsoft in its April
Security Release be applied to Systems as soon as possible. It is
believed that the likelihood of a worm being released SOON that
exploits one of the vulnerabilities addressed by these patches is VERY
HIGH.
See:
http://www.microsoft.com/security/protect/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top