Count number of days between dates in Excel and Google Sheets

=(A3-A2)

=DAYS(A3,A2)

A3 = end_date; A2 = start_date

Check below for a detailed explanation with pictures and how to use formulas in Excel and Google Sheets.