CountIf Date Range

ryleepowell

New Member
Joined
Nov 8, 2016
Messages
2
I struggle with CountIf functions. I know this should be pretty straight forward, but I can't wrap my mind around it.

Below is how the spreadsheet is set up. Don't worry about the conditional formatting of the cells or colors of the dates below. Just for visual. But I want each cell to auto update the tally whenever a new date is included in the range below.

<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style><style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style><style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>
FGH
2April '16May '16June '16
331620
4July '16August '16September '16
53128
6October '16November '16December '16
72115
8January '17February '17March '17
9

<tbody>
</tbody>


This is column F. Ideally I want to the range to be all of F. Like, CountIf anything in column F is between May 1 2016 and May 31 2016. I would put this formula in the cells below the dates to include that specific date range.


<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style><style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>
Meeting Set On
04/05/16
04/22/16
04/22/16
05/02/16
05/02/16
05/05/16
05/05/16
05/05/16
05/09/16
05/10/16
05/10/16
05/11/16
05/17/16
05/18/16
05/18/16
05/25/16
05/25/16
05/25/16
05/26/16
06/02/16
06/02/16
06/06/16
06/07/16
06/08/16
06/08/16
06/08/16
06/09/16
06/09/16
06/09/16
06/09/16
06/14/16
06/14/16
05/25/16
06/15/16
06/16/16
06/21/16
06/21/16
06/29/16
06/29/16
07/01/16
07/07/16
07/26/16
08/11/16
08/11/16
08/16/16
08/19/16
08/22/16

<tbody>
</tbody>
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
=sumproduct(($a$1:$a$1000 >= T1)*($a$1:$a$1000 <= T2))

assumes T1= may 1 and T2 may 31
 
Upvote 0
01/04/201601/05/201601/06/2016
312
01/07/201601/08/201601/09/2016
212
01/10/201601/11/201601/12/2016
042
01/01/201701/02/201701/03/2017
122
01/04/2017
Meeting Set On
03/04/2016
20/04/2016
25/04/2016
24/05/2016
10/06/2016B3
27/06/2016=SUMPRODUCT(($A$15:$A$43>=B1)*($A$15:$A$43< C1))
14/07/2016
31/07/2016
17/08/2016
03/09/2016D3
20/09/2016=SUMPRODUCT(($A$15:$A$43>=D1)*($A$15:$A$43< B3))
07/11/2016
09/11/2016
10/11/2016
27/11/2016
14/12/2016
31/12/2016
17/01/2017
03/02/2017
20/02/2017
09/03/2017
26/03/2017
12/04/2017
29/04/2017
16/05/2017
02/06/2017
19/06/2017
06/07/2017
23/07/2017

<colgroup><col><col><col><col><col span="5"></colgroup><tbody>
</tbody>
 
Last edited by a moderator:
Upvote 0

Forum statistics

Threads
1,216,074
Messages
6,128,653
Members
449,462
Latest member
Chislobog

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top