Calculating the net present value with semi annual costs

xblaauw

New Member
Joined
Jun 12, 2017
Messages
1
Hey, i am a student at the university of utrecht and i have calculated the net present value of several projects successfully and have been asked to do so again. I realised that i keep rebuilding the excel sheet i use to do that for one reason, i cant find a way to add the initial investment cost after x amount of years.

Little bit of background, i often calculate the cost of investing in a certain technology. To do that i invest the cost of the machine in year 1, and calculate the value of the benefits minus the costs using the discount rate for each consecutive year after that and add them together.

The problem comes when i am trying to compare two technologies over a span of twenty years, one of them will have a lifespan of 5 years and the other 10 or something, that means after 5 years i will need to reinvest with the first option and only after 10 years with the second option. So far i have been putting these values in manually, but that method takes a tremendous amount of work (often i am comparing many different technologies at once, so this can easily become entering 500 data points manually, especially with a sensitivity analysis).

so i asked the best excel person i know how to solve this and he answered that he thought i might be able to solve it using the IF function, but i've been trying for the better part of a day and i can't figure out how to use the IF function so that it adds the investment cost to the costs of a year x amount of years since the last time. I want to be able to change x.

that way i will never have to remake this document and can continue to use it throughout my career :)
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Forum statistics

Threads
1,214,915
Messages
6,122,214
Members
449,074
Latest member
cancansova

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