As you know all of the things that we are doing in this chapter and everything with the mathematics of time value of money that you learned with professor Odell can be done in Excel. And actually in the real world virtually everyone uses Excel to solve almost all financial problems and certainly all real estate financial problems. So with that in mind I'd like to show you how we typically solve some major problems on Excel, particular we're finding NPV is and IRS. And we'll do this by way of an example. What I've got here is an example with a company called Lukoil. Lukoil is an oil company that develops, refines, and sells gasoline and other oil products. And they have a gas station in Manhattan at the corner of 10th avenue and 24th street which they believe needs renovating. So they feel that this renovation if they did it right at this instant would cost them $650,000. And then provide for the next ten years, starting a year from now end of year one, provide them with the net positive cash flow of a 100,000 a year. And Lukoil believes that based on many gas station renovation, it's done in this country, that it's opportunity cost of capital or ROCC for this kind of project is 8%. So what I'd like to do in Excel with you is find the NPV of this project and I'd also like to look at the IRR of this project, although it's not stated here. And then answer the question should Lukoil go ahead, and finally, why or why not. To do that, we're going to jump into an Excel spreadsheet that shows information very much like this. So, let's jump in to the Excel right now. Is also available to you in Coursera. Okay, so as you can see I've now jumped to the spreadsheet. This is in your spreadsheet time value in DCF examples. To show you how we would go about solving this in the real world using XL. So the first thing I've got here is for Lukoil I've got their opportunity cost of capital. Up here and I'm going to be working initially on finding the projects NPV. And what you want to do is you want to layout the key items that you've got going here. And you want to have time zipping the wrong here, in our case years, could be months, could be quarters, doesn't matter. And then underneath the time row we want to have the cash flow that happens at that time. So t equals zero beginning of project. Lukoil's going to have to spend 650,000 so I have that as a negative number. And then for the next ten years, they think their net cash flow in is going to be 100,000. Okay, so as we know, to compute the NPV of this project, we're going to have to take each cash flow and translate it back to its equivalent at t equals zero. That way all the cash flows will be on an apples to apples basis. Once we've gotten them on apples to apples basis we simply add them all up. Every cash flow for one query at a time, for one project at a time, we add them up and if the NPV is positive, it's a go. And if it's a negative or equal to 0, it's not a go. Okay, so I'm going to start with this 650,000 cash flow so I've got that, I want the present value of it here in C10. So I'm going to say =C9, the cash flow itself divide by 1 plus the opportunity cluster of capital. And I'm going to work that down which on the PC is function F4. And that needs to be raised by the amount of time and years that's passed since the beginning of the project which I have laid up here. So your time is passed in CA, okay. So that's looking good, the cashflow at t equals zero discount and back to t equals zero should just be the cashflow itself. I think this is a pretty general formula. So I'm going to just drag it across, all the way through to my tenth year. And always good to check, so I'm going to check my tenth year where I have the present value of this tenth year cash flow. The cash flow itself divided by one plus the opportunity cost of capital, quantity raised to the ten. So that's looking good, another check here is if we have uniform cash flows up here. The more we discount them back the smaller they should get, which is exactly what I'm seeing. So I'm pretty confident I've got these right, and now I've got them in this row all on an apples to apples basis. They are equivalent at t=0, and I can simply sum them up, every cash flow for Lukoil involved with this project including anything. That comes in or out at t=0 and I get an NPV of 21 which looks great. Okay so that would mean just thinking ahead a little bit they should go ahead with this project. Now let's see if the IRR for this project supports that conclusion. So down here I want to find the project's IRR. And the way that this works is in lieu of having a sacrificial worker helping us with this. I'm going to take a guess at the IRR, some guest, any guest, 10%, 5% doesnt matter it gives a positive numbers small percentage. And now you using that guest for IRR. I want to discount back all of my cash flows to t=0, so I'm going to do the same thing I did up above. I'm going to lock in I guess for IRR and I want to discount each cash row by the appropriate number of years. I think that formula is good I'm not metering this second looks good to me. Always check the last one, that looks good. Notice how they're all getting smaller as time goes on, that looks good, too and as with NPV, I want to sum these up. All of my cash flows, apples to apple spaces discounted to t=0, okay. And the IRR method as we know and as repeated up here says that the proper internal rate of return for this project is the internal rate of return that makes the project NPV equal to zero. Okay, so two ways to go ahead and solve this. One is if you have a sacrificial intern, sacrificial worker, you can tell them to keep playing with this IRR number. And you see how it, every time I change the IRR, I'm changing the NPV. And you can tell them to do that until the sum of all the present values while the cash flows is equal to zero. If you want to be a little bit sadistic about it, which I don't recommend. You can tell them to do that to get this equal to zero to 14 significant figures. That will keep them busy for long time because excel only works to 11 significant figures. But most of us don't have a sacrificial helper, a sacrificial intern to help us do this so instead we're going to use a tool in Excel to help us solve this. So let's put ourselves in the sum of the PV cell or the NPV cell. And let's go to data What-If Analysis > Goal Seek, okay? And we're going to say Set cell, NPV cell, to value 0, by changing cell by changing at IRR. And you can see very, very quickly it converges to two significant figures to 8.7% and you can see all the significant figures there in the cell. Okay, so this should be working. IRR when it works, when it's applicable, and we've talked about that a little bit, when it is and when it is not applicable. When it is applicable, which it clearly is in this case, it should lead to the same conclusion for a project that NPV does. And NPV greater than zero clearly saying we should go ahead. IRR 8.7%, which is greater than their opportunity cost of capital, so that says go ahead as well. So, I'm going to just put down here, NPV greater than zero We can say that implies that we should go ahead. And down here, I'll just say IRR greater than the opportunity cost of capital and that also implies we should go ahead with the project. So that's how we typically compute things in Excel. In the real world, so I strongly suggest you try this on your own and become comfortable and facile with it, if you want to go on in real estate finance. Okay, so let’s go back now to our slides and continue.