Count Between Dates

luis.carrion

Board Regular
Joined
Mar 26, 2010
Messages
246
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

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
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.
 
Upvote 0
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:
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,748
Members
448,989
Latest member
mariah3

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