For equally spaced future cash flows, use Excel’s NPV function and add any cash flow at the valuation date separately. For cash flows on irregular dates, use XNPV with matching cash-flow and date ranges. A company DCF also requires a forecast, a discount rate consistent with that forecast, and—when the explicit forecast ends—a terminal value assumption.
Choose NPV or XNPV based on cash-flow timing
Excel’s NPV function is for equally spaced cash flows that occur at the end of each period. Its first value is treated as arriving one period after the valuation date. Use an annual discount rate with annual periods, for example.
XNPV is designed for cash flows that do not occur at regular intervals. It discounts each amount according to its date, using a 365-day year. Use the function that reflects the timing in your schedule rather than forcing irregular dates into equal periods.
| Function | Use it when | Timing convention |
|---|---|---|
NPV |
Cash flows are equally spaced | Amounts occur at the end of each period; the first value is one period after the valuation point. Microsoft Support |
XNPV |
Cash flows have actual, irregular dates | Each value is paired with a date; subsequent cash flows are discounted using a 365-day year. Microsoft Support |
Calculate present value with NPV
Arrange the cash flows
Put future cash flows in chronological order, with each amount in the period it belongs to. Keep the valuation-date cash flow—often an initial investment—separate from the future-period amounts. Because NPV treats its first included value as a period-end flow, a time-zero amount does not belong in its values argument.
Quick wins for a faster PC:
Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Clear out junk files and repair common Windows errorsFree Scan →Scan for outdated or missing drivers - takes under a minuteDriver Scan →#1 Best Overall
- Profitability calculations; cash flow function Calculates NPV and IRR for uneven cash flows
- Time-value-of-money and Amortization keys solve problems including: pension calculations, loans, mortgages, etc.
- Ideal calculator for students, managers and statisticians
- Built-in functionality : List-based one- and two-variable statistics with four regression options: linear, logarithmic, exponential and power
- The BA II Plus calculator is approved for use on the following professional exams: Chartered Financial Analyst exam. GARP Financial Risk Manager (FRM) exam. Certified Management Accountants exam
Enter the formula
If the discount rate is in B1, year-one through year-five cash flows are in B3:B7, and the initial outflow is in B2, enter:
=B2+NPV(B1,B3:B7)
For instance, if B2 contains a negative investment, the formula adds that initial outflow to the present value of the later cash flows. Microsoft states: “If your first cash flow occurs at the beginning of the first period, the first value must be added to the NPV result, not included in the values arguments.” Microsoft Support
Rank #2
- PROFESSIONAL FINANCIAL CALCULATOR : Built-in TVM, IRR, NPV. Engineered for business analysts, real estate investors, accountants, and finance students.
- ADVANCED CASH FLOW & AMORTIZATION : Execute time value of money, break-even analysis, depreciation schedules, and bond pricing. Trusted for professional exam prep", MBA coursework, and banking certifications.
- CATIGA CF-300 : Flip-open hard case with a snap-close design for a secure fit. Compact and portable: designed for daily professional use in office, classroom, or on-site.
- ALL-IN-ONE FOR PROFESSIONALS : From NPV/IRR for real estate analysis to statistical calculations for business analysts. Handles probability, linear regression, and complex financial formulas.
- MORTGAGE, LOAN & INVESTMENT CALCULATOR : Covers bond pricing, loan amortization, investment analysis, and exam-level computations. Your go-to accounting calculator, business calculator, and real estate calculator in one device.
The result is the net present value of the cash-flow series relative to the valuation date, under the discount rate and timing assumptions you entered. A positive NPV means the discounted inflows exceed the included outflows; it does not by itself establish that a company is worth a particular amount.
Calculate present value with XNPV
For irregularly timed cash flows, list each amount beside its corresponding date. In the example below, cash flows are in B2:B6, their dates are in A2:A6, and the annual discount rate is in B1:
The Tool Desk
Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Rank #3
- HP 10BII+ FOR STUDENTS & PROFESSIONALS – This HP calculator is built for business, finance, accounting, and statistics courses. Perfect for learners and professionals who need to solve common financial problems quickly without memorizing formulas or relying on spreadsheets.
- 100+ FUNCTIONS FOR REAL WORLD MATH – Quickly solve time value of money, interest rates, loan payments, NPV, IRR, cash flows, and more. The 10bII+ also includes probability distributions for statistics courses—a feature not often found in financial calculators.
- ALGORITHMIC INPUT WITH DEDICATED KEYS – This high-school/college calculator uses algebraic and chain logic with minimal keystrokes. Layout appears the same as standard calculators for easy learning. Dedicated keys give quick access to commonly used financial and statistical functions
- APPROVED FOR MAJOR EXAMS – The HP 10bII+ algebra calculator is permitted for use on SAT, PSAT/NMSQT, and AP tests. An ideal statistics calculator and business calculator for school finance and accounting students preparing for class, coursework, or standardized exams.
- INCLUDES TRAVEL CASE, CLEANING CLOTH & BATTERIES– Slim, durable, and easy to keep on hand or store in a backpack or locker. Includes a protective case, cleaning cloth, and batteries so it’s ready out of the box. Large screen with clear contrast (non-backlit) is easy to read during exams or lectures.
=XNPV(B1,B2:B6,A2:A6)
The values and dates ranges must have the same number of entries, and each cash flow must remain paired with its own date. Microsoft’s function requirements also call for at least one positive and one negative amount. Microsoft Support
Microsoft’s documentation illustrates XNPV with a 9% rate and dated amounts of -$10,000, $2,750, $4,250, $3,250, and $2,750; its example result is $2,086.65. That is Microsoft’s worked example, not a recommended discount rate or an independent test. Microsoft Support
Rank #4
- Solves time-value-of-money calculations such as annuities, mortgages, leases, savings, and more
- Performs cash-flow analysis for up to 32 uneven cash flows with up to 4-digit frequencies
- Calculates various financial functions: Net Future Value Net present Value Modified Internal Rate of Return Internal Rate of Return Modified Duration Payback Discounted Payback
- The Texas Instruments BAII Plus Professional features an Automatic Power Down (APD) function for extended battery life
- Prompted display guides you through financial calculations showing current variable and label. Ten-digit display
Build a company DCF in Excel
A company valuation is more than an NPV formula: the model must forecast cash flows, apply a discount rate that matches their definition, account for cash flows beyond the explicit forecast, and calculate the value the reader actually wants. In a common enterprise-value approach, the forecast is unlevered free cash flow to the firm (FCFF), discounted at the weighted average cost of capital (WACC). Other formulations are possible, but the cash flow and discount rate must be consistent. CFA Institute
- Set the valuation date and forecast periods. Decide whether periods are regular (such as annual year-ends) or use actual dates. This determines whether the model should use
NPVorXNPV. - Forecast free cash flow. For an FCFF model, derive unlevered free cash flow from operating results and cash-flow adjustments. The CFA Institute’s 2026 refresher covers adjustments to earnings and operating cash flow used to derive FCFF and FCFE. CFA Institute
- Choose a consistent discount rate. Use a rate appropriate to the cash-flow type and period convention. For an FCFF model, the common pairing is WACC; do not mix a cash-flow definition with a discount rate intended for a different claim on the business.
- Estimate terminal value. A finite forecast normally needs an estimate for cash flows after its final explicit period. Two common approaches are perpetual growth and an exit multiple. These are assumptions, not directly observed facts; identify the method and its inputs. Corporate Finance Institute’s DCF tutorial
- Discount and sum the forecast. Discount each forecast-period cash flow and the terminal value to the valuation date using the model’s timing convention. Their present values form enterprise value in an FCFF model.
- Bridge to equity value if needed. Enterprise value is not automatically equity value per share. Apply the appropriate debt, cash, and share-count adjustments for the model’s cash-flow formulation before presenting per-share value. Corporate Finance Institute’s DCF tutorial
Make assumptions visible and test the result
DCF outputs depend on the forecast and discounting assumptions, not just on the Excel function. A useful model makes the forecast horizon, discount rate, terminal-value method, and terminal assumptions easy to identify. Compare how implied value changes when key assumptions change; in particular, show sensitivity to the discount rate and terminal-value inputs rather than presenting one output as certain.
Best Value
- Brand New in box; The product ships with all relevant accessories
- Dedicated keys allow easy access to common financial and statistics functions
- Easy-to-use design provides business, finance and statistical calculations fast
- Specially designed to meet the mathematical needs
Microsoft’s function documentation explains spreadsheet mechanics; it does not validate a particular company’s forecast, rate, or valuation. No company-specific valuation can be inferred without those inputs.
Common Excel errors to avoid
- Including the initial outflow in NPV’s values range: this discounts it as a period-end cash flow. Add a valuation-date amount separately.
- Using NPV for irregular dates: equal spacing is part of NPV’s assumption. Use XNPV when the actual schedule is irregular.
- Misaligning XNPV ranges: every value must correspond to the date in the same schedule position, and the ranges must contain the same number of entries.
- Mixing rate and period units: annual-period NPV cash flows need a rate consistent with that period; XNPV applies its annual rate across elapsed days under its 365-day convention.
- Calling enterprise value per-share value: an FCFF-based enterprise value requires the appropriate bridge to equity value and per-share value.
- Treating terminal value as a known fact: it depends on an assumption such as perpetual growth or an exit multiple, so identify and test that assumption.
For Microsoft’s broader walkthrough of NPV and IRR in Excel, see Go with the cash flow: Calculate NPV and IRR in Excel.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




