
What You’ll Learn
Financial functions in Excel are the tools that turn a spreadsheet from a fancy calculator into something that can actually help you make real money decisions. Loan repayments. Investment returns. Savings goals. Business valuations. All of it runs through a handful of functions that look simple on the surface — and then quietly produce wrong answers the moment you use them without understanding what is actually going on inside them.
Here is a scenario you have probably lived through. You build a loan model. The PMT function returns a negative number. You flip the sign, move on. Then a colleague tells you the NPV is wrong because you forgot the Period 0 issue. You fix it. Then someone asks why your IRR and NPV are giving contradictory signals on the same project.
That frustration is what this lesson is for. You will go through every core financial function — PV, FV, PMT, IPMT, PPMT, NPER, RATE, NPV, IRR, XNPV, XIRR — with real examples, actual numbers, and a clear explanation of every trap waiting for you. No textbook language. Just what you need to build models you can trust.
It is not that the functions are complicated. Most of them take four or five arguments. The problem is two specific issues that tutorials skip over — and once you know them, everything else becomes much cleaner.
Every single financial function in Excel operates on one rule: money leaving your pocket is negative, money entering your pocket is positive.
Think of it from your own perspective. You take a home loan — the bank gives you money. Positive. You pay your EMI every month — money leaves you. Negative. You invest in a mutual fund — money leaves you. Negative. You receive returns — money comes to you. Positive.
Simple enough. But here is where it goes wrong. People enter the loan amount as a positive number in PMT, get a negative result, panic, and add a minus sign to “fix” it — without understanding why the sign appeared in the first place. Then they build a bigger model and the sign logic falls apart. The cleaner approach: decide at the start of any model which direction is positive, and be consistent throughout.
Here is the thing — this one catches finance professionals, not just beginners. Excel’s NPV function does not include your initial investment automatically. It discounts cash flows starting from Period 1, assuming they happen at equal intervals going forward.
If you put your initial investment into the NPV range along with your future cash flows, Excel discounts that investment as if it happened one full period in the future. Your answer will be wrong, and it will not throw an error. It will just quietly give you a number that is slightly too high.
The fix is simple once you know it:
=NPV(discount_rate, year1_cashflow:year5_cashflow) + initial_investment
Your initial investment is already a negative number (money leaving you), so adding it is the same as subtracting the absolute value. One adjustment. Completely changes the reliability of your model.
Every financial function in Excel rests on one idea: a rupee today is worth more than a rupee tomorrow. Not because of inflation, though that is part of it — but because today’s money can be invested and grow. Delay it, and you lose that growth. PV and FV make this concrete.
PV answers: what is a future amount worth right now? Syntax and arguments:
=PV(rate, nper, pmt, fv, type)
rate — interest rate per period
nper — total number of periods
pmt — periodic payment (use 0 if none)
fv — future value (optional)
Advertisement-X
type — 0 = end of period, 1 = beginning (optional)
Example: You will receive ₹5,00,000 five years from now. Your money could earn 8% per year elsewhere. What is that future amount worth to you today?
=PV(8%, 5, 0, 500000)
Result: approximately -3,40,291
The negative sign reflects that you would need to give up that amount today to receive the future sum. To display as positive, put a minus before the function.
FV answers the opposite: if you invest money now or regularly, what will it grow to? Example: ₹5,000 into a SIP every month at 8% annual return for 10 years (120 months).
=FV(8%/12, 120, -5000, 0, 0)
Result: approximately ₹9,14,742
The payment is negative because money is leaving your pocket. You want ₹20 lakhs in 10 years at 8%? Use FV to test different investment amounts, or use PMT (covered next) to calculate the exact monthly amount required. Together they make a genuinely useful savings planning tool.
PMT is the function you will use more than any other in loan calculations. Give it a rate, a number of periods, and a loan amount — it tells you the fixed payment needed to fully repay that loan.
=PMT(rate, nper, pv, fv, type)
rate — interest rate per period
nper — total payment periods
pv — loan amount (present value)
fv — remaining balance after last payment (0 for a standard loan)
type — 0 = end of period, 1 = beginning
Loan: ₹50,00,000 | Rate: 8.5% per year | Tenure: 20 years (240 months)
=PMT(8.5%/12, 240, 5000000) → approximately -43,391
=-PMT(8.5%/12, 240, 5000000) → approximately +43,391 (positive display)
💡 PRO TIP
The most common PMT error is using the annual rate without dividing by 12 for monthly payments. The rate and nper must always match — if payments are monthly, rate must be monthly too. Divide the annual rate by 12 and multiply tenure years by 12.
⚠️ COMMON MISTAKE
Using =PMT(8.5%, 240, 5000000) — the annual rate with 240 monthly periods. Excel does not flag this as an error. It treats each of those 240 periods as a full year and returns a completely wrong result. Always match your rate unit to your payment period unit.
PMT gives you the total payment. IPMT and PPMT split it — interest component and principal component, for any specific period you want to examine.
=IPMT(rate, per, nper, pv) — interest portion of payment #per
=PPMT(rate, per, nper, pv) — principal portion of payment #per
Same home loan. What does payment number 1 look like?
| Component | Formula | Result (Payment 1) |
|---|---|---|
| Interest portion | =IPMT(8.5%/12, 1, 240, 5000000) | -₹35,417 |
| Principal portion | =PPMT(8.5%/12, 1, 240, 5000000) | -₹7,974 |
| Total EMI | =PMT(8.5%/12, 240, 5000000) | -₹43,391 |
In the early years, the vast majority of your EMI is pure interest. By payment 200 of 240, that ratio has flipped. IPMT and PPMT let you see this shift in real numbers — which is genuinely useful when advising someone on whether to make a loan prepayment.
List period numbers 1 through 240 in column A. Column B: IPMT with A as the per argument. Column C: PPMT. Column D: sum them — it should always equal your PMT result. Column E tracks the remaining balance. For cleaner formula references, see the XplorExcel lesson on Named Ranges — naming your loan inputs makes the model readable and easy to audit.
These two are underused, and that is a mistake. They solve the reverse problem — when you know the payment but need to find the period or the rate.
You have ₹10 lakhs of loan at 10% annual interest and can afford ₹20,000 per month. How long until you are debt-free?
=NPER(10%/12, -20000, 1000000)
Result: approximately 64.3 months (just over 5 years)
Trust me on this one — this function is eye-opening. A car dealer offers: pay ₹15,000 per month for 48 months for a ₹5 lakh car. What is the actual annual interest rate?
=RATE(48, -15000, 500000) * 12
Multiply by 12 at the end to convert monthly rate to annual
💡 PRO TIP
If RATE returns a #NUM! error, add a starting guess as the fifth argument — something like 10%/12. RATE uses iterative calculation and occasionally needs a nudge in the right direction to converge.
NPV answers the question every investor actually cares about: does this opportunity create value, or does it destroy it? A positive NPV means the investment returns more than your required rate. A negative NPV means you would be better off putting that money elsewhere.
Excel’s NPV discounts cash flows from Period 1 onwards — it has no concept of a cash flow happening right now. Your initial investment, made today, must be handled outside the function. The correct setup:
B2 = initial investment as negative number (e.g. -200000)
B3:B7 = cash flows for years 1 through 5
=NPV(discount_rate, B3:B7) + B2
A machine costs ₹2,00,000 today. It generates savings of ₹60,000 per year for 5 years. Your required return is 12%.
=NPV(12%, 60000, 60000, 60000, 60000, 60000) + (-200000)
Result: approximately +₹16,048 → Positive NPV → Buy the machine
For models using specific payment dates rather than annual periods, see the XplorExcel lesson on Date Functions — it connects directly to XNPV covered in the next section.
IRR gives you the exact rate of return where NPV equals zero. Think of it as the breakeven return rate. If your IRR is higher than your cost of capital or hurdle rate, the investment adds value.
=IRR(values, [guess])
Cash flows: -200000, 60000, 60000, 60000, 60000, 60000 → IRR ≈ 15.2%
When your cash flow stream changes sign more than once — positive, then negative, then positive again — there can be multiple mathematically valid IRR solutions. Excel will quietly return one of them without telling you others exist. This happens in infrastructure, mining, or development deals with large end-of-project costs.
When they disagree on two competing projects, trust NPV. IRR is a percentage — it ignores scale. A 30% return on ₹10,000 is worth less than a 20% return on ₹10,00,000. NPV measures actual rupee value created. Use IRR for a quick sanity check. Use NPV to make the final call.
Standard NPV and IRR assume your cash flows happen at perfectly equal intervals. In real projects, they do not. A client pays late. A supplier invoice comes early. Revenue is lumpy. You’ve probably seen financial models that use NPV when they should be using XNPV.
XNPV uses actual dates, discounting each cash flow based on exactly how many days it is from your start date. One critical detail: your dates column must contain actual Excel date values, not text formatted to look like dates.
=XNPV(rate, values, dates)
=XIRR(values, dates)
Both require the first value to be negative (initial investment) and actual Excel date values in the dates range
If cash flows are not perfectly annual or monthly, XNPV is not just more accurate — it is the right function. The difference is not trivial on large cash flows.
This is where the financial functions in Excel come together into something genuinely useful. Build this once and you will reuse it constantly.
Step-by-Step: Build a Loan Calculator
=PMT(B3/12, B4*12, B2)=B4*12=B6*B7=B8-B2=IPMT($B$3/12, A12, $B$4*12, $B$2), Column C = =PPMT($B$3/12, A12, $B$4*12, $B$2), Column D = sum of B+C, Column E = running balance🧪 Try It Yourself
Once the model is built, change the interest rate in B3 from 8.5% to 9.5% and watch the total interest in B9 jump. Then change the tenure from 20 years to 15 and see how much you save. This is the actual value of building it yourself — you develop real intuition for how these variables interact.
To verify the whole model is consistent, run this in an empty cell:
=RATE(B4*12, B6, B2)*12
It should return your original annual rate. If it does, every function in your model is aligned.
| Function | What It Does | Syntax |
|---|---|---|
| PV | Present value of a future amount | =PV(rate, nper, pmt, fv) |
| FV | Future value of an investment | =FV(rate, nper, pmt, pv) |
| PMT | Fixed periodic loan payment | =PMT(rate, nper, pv) |
| IPMT | Interest portion of a specific payment | =IPMT(rate, per, nper, pv) |
| PPMT | Principal portion of a specific payment | =PPMT(rate, per, nper, pv) |
| NPER | Number of periods to repay a loan | =NPER(rate, pmt, pv) |
| RATE | Interest rate per period | =RATE(nper, pmt, pv) × 12 |
| NPV | Net present value (Period 1 onwards) | =NPV(rate, values) + invest |
| IRR | Internal rate of return | =IRR(values) |
| XNPV | NPV with exact payment dates | =XNPV(rate, values, dates) |
| XIRR | IRR with exact payment dates | =XIRR(values, dates) |
📚 External Resources
Microsoft Docs — NPV Function Reference
Official syntax documentation covering every argument for Excel’s NPV function, with parameter definitions and notes.
support.microsoft.com → NPV function ↗Exceljet — IRR Function Guide
A plain-English breakdown of IRR including the multiple IRR problem, with worked examples and common error explanations.
exceljet.net → IRR function ↗Financial functions in Excel are only intimidating before you understand the sign convention and the NPV Period 0 issue. Once those two things click, the rest follows naturally.
The loan calculator above is a real tool. Use your actual home loan numbers, your actual interest rate, your actual tenure. When you see ₹35,000 of your first EMI going to interest and only ₹7,000 coming off the principal, these functions stop being abstract and start being the kind of thing you check before every major financial decision. That is the point.
← Previous Lesson
Array Formulas (CSE) in ExcelNext Lesson →
Statistical Functions in ExcelAdvertisement-X