# Count Between Dates

#### luis.carrion

##### Board Regular
I need a formula to count the numbers of inventory completed during the month of October from Tab SCA FY17 Tab Column J9 (Date Format: 12/1/23) in The Dashboard Tab Column V31

### Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

#### Asala42

##### Well-known Member
One common method is the COUNTIFS function (plural version of COUNTIF).

eg
Code:
``=COUNTIFS(\$A\$2:\$A\$200,">="&Z1,\$A\$2:\$A\$200,"<="&Z2)``
Where Z1 and Z2 are your start/end dates, and A1:A200 is your list of complete dates.

That said, what date does your example 12/1/23 represent? That does not look like a format excel will automatically recognize as a date, so you may need to do some kind of conversion.

#### Matt Rogers

##### Well-known Member
Hi.

IF 12/1/23 = 'MM/D/YY' then perhaps this variant:

Formula F2: (Days between start and end)
=SUMPRODUCT((A2:A10>D2)*(A2:A10 < E2)*(B2:B10))

Formula G2: (Days including start and end)
=SUMPRODUCT((A2:A10>=D2)*(A2:A10<=E2)*(B2:B10))
Excel Workbook
ABCDEFG
1Day\$*StartEndSum1Sum2
211/29/2310*12/1/2312/4/232202
311/30/2310*****
412/1/23100*****
512/2/231*****
612/3/231*****
712/4/23100*****
812/5/2310*****
912/6/2310*****
10*******
Sheet

Last edited:

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

### Forum statistics

1,164,530
Messages
5,837,899
Members
430,520
Latest member
VenkateshRajaganesan

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

### Which adblocker are you using?

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

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