Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Spreadsheet Finance and Date Functions That Save Time

· in Tips

Cover picture: Spreadsheet Finance and Date Functions That Save Time

PMT, NPV, IRR, EOMONTH, NETWORKDAYS and more explained with small examples, plus the sign and rate mistakes that give wrong answers.

Spreadsheets have hundreds of functions, but a handful of finance and date functions do most of the everyday work: loan payments, project returns, due dates and working days. Here is what they do, with examples you can type into any sheet.

Loans and savings: PMT, PV and FV

=PMT(5%/12,360,200000) gives the monthly payment on a 200,000 loan over 30 years at 5 % a year: about -1,073.64.

Two things catch people out:

  • Use the rate per period. The loan is paid monthly, so the yearly rate is divided by 12 and the term is 360 months, not 30 years.
  • Signs show direction. Money you receive (the loan) is positive and money you pay out is negative, which is why the payment comes out negative.

PV works backwards: =PV(4%,10,-1000) says ten yearly payments of 1,000 at 4 % are worth about 8,110.90 today. FV tells you what regular saving grows to: =FV(3%/12,120,-200) is about 27,948.28 after ten years of 200 a month.

Is a project worth it? NPV and IRR

=NPV(10%,300,400,500) gives about 978.96: the value today of three yearly cash flows, the first one a year from now. That is the most common NPV mistake. If you also pay 1,000 today, add it outside the function: =NPV(10%,300,400,500)-1000, about -21. So at 10 % the project does not quite pay.

=IRR({-1000,300,400,500}) answers the same question another way: the project earns about 8.9 % a year, which is below the 10 % you wanted.

Dates are numbers

Spreadsheets store dates as days counted from 30 December 1899, so 23 November 2026 is 46349. That is why date maths works with plain subtraction.

  • =EOMONTH(DATE(2026,11,23),0) gives the last day of the month, 30 November 2026. Handy for due dates and month-end reports.
  • =EDATE(DATE(2026,1,31),1) gives 28 February 2026: a month later, moved back to the last day because February is short.
  • =NETWORKDAYS(DATE(2026,11,2),DATE(2026,11,27),DATE(2026,11,26)) counts 19 working days, skipping weekends and the holiday on the 26th.
  • =WORKDAY(DATE(2026,11,27),3) gives Wednesday 2 December 2026: three working days after a Friday.

If a formula shows a number like 46356 instead of a date, the answer is right: format the cell as a date.

Depreciation in one line

=SLN(10000,1000,5) gives 1,800 a year of straight-line depreciation. =DDB(10000,1000,5,1) gives 4,000 for the first year on the double-declining balance method, and =DB(10000,1000,5,1) gives 3,690 on the fixed-declining balance method.

Look them up when you need them

The Spreadsheet formula reference lists about 90 functions with their syntax and a checked example. Its finance and date calculators work these functions out on your own numbers. For lookups and conditional sums on your own table, use the Spreadsheet formula builder.

Tags:

All blog posts

See you tomorrow!

A fresh daily puzzle every morning, and new tools added every month.

Browse every product