# CountIf

#### luis.carrion

##### Board Regular
Hello,

I need a formula that will show the numbers of how many people completed their inventory by month. In the Dashboard Tab in Column M17 i need the count of the completed date from Tab SCA FY17 column J9. AM trying to create a time line that will show how many people completed the inventory by month. in Tab SCA FY17 from J9 to J23 i have the completion dates in this format: 11/1/2016 and i need the count in the Dashboard Tab

### Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

#### texasalynn

##### Well-known Member
post a small sample of data

#### luis.carrion

##### Board Regular
basically in sheet name"SCA FY17"
Column: J5:J23 I have a dated formatted like "12/1/2016",

in Sheet name "Dashboard"

Column: V31 i need a formula that will count the dates between 12/1/2016 and 12/31/2016

#### 63falcondude

##### Well-known Member
basically in sheet name"SCA FY17"
Column: J5:J23 I have a dated formatted like "12/1/2016",

in Sheet name "Dashboard"

Column: V31 i need a formula that will count the dates between 12/1/2016 and 12/31/2016

Although that is not a small sample of data, give this a try:

=COUNTIFS('SCA FY17'!\$J\$5:\$J\$23,">="&DATE(2016,12,1),'SCA FY17'!J5:J23,"<="&DATE(2016,12,31))

#### texasalynn

##### Well-known Member

try this formula
=COUNTIFS('SCA FY17'!J5:J23,">="&DATE(2016,12,1),'SCA FY17'!J5:J23,">="&DATE(2016,12,31))

#### luis.carrion

##### Board Regular
Hello the formula works, the only problem is that when i change it for the month of January its also ready the earlier months. i need to only read December but if i change the dates to November i need to only that date range. For example i change the formula to read any dates for October but when i place the formula In M18 thats for the month of November it also reads October and if i change it to read only December it reads Oct and November and so on.

#### texasalynn

##### Well-known Member

post how you have the formula

#### texasalynn

##### Well-known Member
both of these work
=COUNTIFS('SCA FY17'!\$J\$5:\$J\$23,">="&DATE(2016,12,1),'SCA FY17'!J5:J23,"<="&DATE(2016,12,31))
=SUMPRODUCT(--('SCA FY17'!J5:J23>=DATE(2016,10,1)),--('SCA FY17'!J5:J23<=DATE(2016,10,31)))

Thank you

Replies
5
Views
153
Replies
3
Views
224
Replies
6
Views
525
Replies
3
Views
210
Replies
0
Views
148

### Forum statistics

1,129,685
Messages
5,637,798
Members
416,983
Latest member
LessThanAverageUser

### 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?

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