COUNTIFS is the single, versatile function you need in Microsoft Excel to count data based on any combination of criteria. It handles complex AND/OR logic, dynamic cell references, and partial text ...
Subtraction is the easiest way to count days between two dates in Excel. You can use the arithmetic operator – (minus sign) to subtract one date from another to find the number of days between them.