How to count the days between two dates

Take one date from another to count the days between them. Then count both ends, or working days only.

EasyPremium8 min
Task 1Take the earlier date from the later one4 questions

Dates are counts of days. So the later date minus the earlier date is the number of days between them.

Larkhill Stationery, when invoices were paid
ABC
1InvoiceInvoice dateDate paid
221414 March 202630 March 2026
3214210 March 202624 April 2026
4214316 March 20262 April 2026

=C2-B2 gives the days from the invoice date to the payment. =DAYS(C2,B2) gives the same answer, with the later date first.

If the answer shows as a date, change the cell format to Number. If the dates are the wrong way round, the answer is negative.

Task 2Counting both ends, and working days4 questions