# Count Between Date Ranges

### | | Information Helpful? Why Not Donate.

Got any Excel Questions? Free Excel Help

To count dates that fall between a date range we can use SUMPRODUCT with a twist. Suppose you have a list of valid dates in A1:A20. The formula we can use to count dates that fall between 2 dates is;

=SUMPRODUCT((\$A\$1:\$A\$20>D1)*(\$A\$1:\$A\$20<E1))

Where D1 houses your start date and E1 you end date.

Or, we can hard code the dates into our SUMPRODUCT Function by using the DATE Function.

=SUMPRODUCT((\$A\$1:\$A\$20>DATE(2010,7,29))*(\$A\$1:\$A\$20<DATE(2010,8,1)))

Syntax for the date function is: DATE(Year, Month, Day)

Special! Free Choice of Complete Excel Training Course OR Excel Add-ins Collection on all purchases totaling over \$64.00. ALL purchases totaling over \$150.00 gets you BOTH! Purchases MUST be made via this site. Send payment proof to [email protected] 31 days after purchase date.

# Microsoft Excel Training- From Beginner to Expert in 6 Hours/ EXCEL DASHBOARD REPORTS

Excel Trader Package Technical Analysis in Excel With \$139.00 of FREE software!

Microsoft ® and Microsoft Excel ® are registered trademarks of Microsoft Corporation. OzGrid is in no way associated with Microsoft