ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Calculate interest between two date ranges (https://www.excelbanter.com/excel-worksheet-functions/185909-calculate-interest-between-two-date-ranges.html)

Legal Learning

Calculate interest between two date ranges
 
Can someone tell this NON-Excel folk how to create a formula to do this?

Much appreciated!
--
CLG

ExcelBanter AI

Answer: Calculate interest between two date ranges
 
To calculate interest between two date ranges in Excel:

1. Calculate the number of days between the two dates by subtracting the start date from the end date and adding 1.

2. Use the formula:
Code:

= (P * r * t) / 365
Whe
- P is the principal amount
- r is the annual interest rate
- t is the number of days between the two dates

3. Simplify the formula by using Excel's built-in functions. You can use the ROUND function to round the result to two decimal places.

4. Press Enter to calculate the result.

For example, let's say you have a principal amount of $10,000, an annual interest rate of 5%, and you want to calculate the interest between January 1, 2021 and March 31, 2021.

Using the above steps, the final formula would look like this:
  1. Calculate the number of days:
    Code:

    =DATEDIF("1/1/2021","3/31/2021","d")+1
  2. Plug in the values into the formula:
    Code:

    =ROUND((10000 * 0.05 * 90) / 365, 2)
  3. Press Enter to calculate the result. In this case, the interest would be $123.29.

That's it! I hope this helps you calculate interest between two date ranges in Excel.

Fred Smith[_4_]

Calculate interest between two date ranges
 
The best way is to describe your problem in non-Excel terms. Then we can
translate it into Excel. Without a decent description, we can only guess at
what you need.

In non-Excel terms, my guess is you want to:

1. Calculate the number of days in the period.
2. Divide by 365 to get what portion of a year you have.
3. Multiply by the interest rate.

In Excel terms, if you have A1 as the starting date, A2 as the ending date,
and A3 as the interest rate, your formula is:

=a3*(a2-a1)/365

Regards,
Fred.

"Legal Learning" wrote in message
...
Can someone tell this NON-Excel folk how to create a formula to do this?

Much appreciated!
--
CLG



Legal Learning

Calculate interest between two date ranges
 
Thanks Fred. However, how does it calculate the number of days between one
date and another. Simply putting in two dates does not calculate it. For
example: a1 would be October 12, 2007 and a2 would be December 22, 2007. I
need for Excel to calculate the number of days between those two dates before
I can calculate any interest. Right? How would one go about that. Isn't
there a built in function of some type?

Thanks for you help!
--
CLG


"Fred Smith" wrote:

The best way is to describe your problem in non-Excel terms. Then we can
translate it into Excel. Without a decent description, we can only guess at
what you need.

In non-Excel terms, my guess is you want to:

1. Calculate the number of days in the period.
2. Divide by 365 to get what portion of a year you have.
3. Multiply by the interest rate.

In Excel terms, if you have A1 as the starting date, A2 as the ending date,
and A3 as the interest rate, your formula is:

=a3*(a2-a1)/365

Regards,
Fred.

"Legal Learning" wrote in message
...
Can someone tell this NON-Excel folk how to create a formula to do this?

Much appreciated!
--
CLG




Fred Smith[_4_]

Calculate interest between two date ranges
 
So you have a date issue, rather than an interest calculation issue. Your
problem is your dates are text. To convert them into dates which Excel can
use in its calculations, use the Datevalue function, as in:

=a3*(datevalue(a2)-datevalue(a1))/365

And, if you want, you can easily avoid the requirement to use Datevalue
function by entering your dates in a form that Excel can understand, like
10/12/07 and 12/22/07. You can format the date any way you want after it's
been entered.

Regards,
Fred

"Legal Learning" wrote in message
...
Thanks Fred. However, how does it calculate the number of days between
one
date and another. Simply putting in two dates does not calculate it. For
example: a1 would be October 12, 2007 and a2 would be December 22, 2007.
I
need for Excel to calculate the number of days between those two dates
before
I can calculate any interest. Right? How would one go about that. Isn't
there a built in function of some type?

Thanks for you help!
--
CLG


"Fred Smith" wrote:

The best way is to describe your problem in non-Excel terms. Then we can
translate it into Excel. Without a decent description, we can only guess
at
what you need.

In non-Excel terms, my guess is you want to:

1. Calculate the number of days in the period.
2. Divide by 365 to get what portion of a year you have.
3. Multiply by the interest rate.

In Excel terms, if you have A1 as the starting date, A2 as the ending
date,
and A3 as the interest rate, your formula is:

=a3*(a2-a1)/365

Regards,
Fred.

"Legal Learning" wrote in
message
...
Can someone tell this NON-Excel folk how to create a formula to do
this?

Much appreciated!
--
CLG





Legal Learning

Calculate interest between two date ranges
 
I googled my question and found out the answer is the datedif function.
Works like a charm. Thanks anyway
--
CLG


"Fred Smith" wrote:

So you have a date issue, rather than an interest calculation issue. Your
problem is your dates are text. To convert them into dates which Excel can
use in its calculations, use the Datevalue function, as in:

=a3*(datevalue(a2)-datevalue(a1))/365

And, if you want, you can easily avoid the requirement to use Datevalue
function by entering your dates in a form that Excel can understand, like
10/12/07 and 12/22/07. You can format the date any way you want after it's
been entered.

Regards,
Fred

"Legal Learning" wrote in message
...
Thanks Fred. However, how does it calculate the number of days between
one
date and another. Simply putting in two dates does not calculate it. For
example: a1 would be October 12, 2007 and a2 would be December 22, 2007.
I
need for Excel to calculate the number of days between those two dates
before
I can calculate any interest. Right? How would one go about that. Isn't
there a built in function of some type?

Thanks for you help!
--
CLG


"Fred Smith" wrote:

The best way is to describe your problem in non-Excel terms. Then we can
translate it into Excel. Without a decent description, we can only guess
at
what you need.

In non-Excel terms, my guess is you want to:

1. Calculate the number of days in the period.
2. Divide by 365 to get what portion of a year you have.
3. Multiply by the interest rate.

In Excel terms, if you have A1 as the starting date, A2 as the ending
date,
and A3 as the interest rate, your formula is:

=a3*(a2-a1)/365

Regards,
Fred.

"Legal Learning" wrote in
message
...
Can someone tell this NON-Excel folk how to create a formula to do
this?

Much appreciated!
--
CLG






All times are GMT +1. The time now is 01:17 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com