Letting excel calculate with ^n

Koejns

New Member
Joined
May 24, 2011
Messages
14
I want to calculate the Net present value over a variable time of years.
Now I've got the formula =SUM(FV/(1+interest)^n where n is the amount of years.
However I want the SUM of all years apart.
I can set a expected number of years for the project but this is variable. So for instance I set the expected project years at 20 and I want Excel to automaticly calculate the SUM of (FV/(1+interest)^1+(FV/(1+interest)^2+(FV/(1+interest)^3....etc.+(FV/(1+interest)^20

How can I program this?
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
If essentialy what your trying to do is add Fv/(1+int)^1+FV/(1+int)^2 +FV/(1+int)^3 +FV*/(1+int)^4 ----FV/(1+int)^n. Then this formula will do that:-
(FV*(1+int)*([1/(1+int)] -[1/(1+int)^n+1)])/int= Sum
Mick
 
Upvote 0
This SUMPRODUCT formula produces the same answer as the PV function as long as FV is a single value rather than a vector of values.
 
Upvote 0
HOTPEPPER thanx! It worked :) I didn't really look into your answer as I was busy trying the other answers but it workes great! Thanx! Problem solved
 
Upvote 0

Forum statistics

Threads
1,215,585
Messages
6,125,679
Members
449,248
Latest member
wayneho98

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top