Excel Count Days Between Two Dates

Excel can be used to count the number of days between two dates.  To do this enter your dates in cell A2 to A11, start date in B1 and end date in C1, the following will count how many days fall within the two dates:


or for Excel 07 or later


To extend the Excel formula to include another criterion as follows;




To add more criteria simply add it in the same way.  For instance, If the next set of criteria was in Column C then add the Excel formula below to the end of the formula above. 


or the complete Excel formula for 4 criteria.


To return a text value instead of a number value then the following article may be of assistance;  Match Multiple Text Criteria

The Excel file below shows both examples.