Countifs between dates and also blank cell

Yelruh

New Member
Joined
Oct 17, 2016
Messages
7
So I have the formula figured out for between dates to calculate what I have on hand C11 being the date, however whats stumping me is to count if no date is in the BK column???

=COUNTIFS('10-16'!$BK:$BK,">="&C11,'10-16'!$S:$S,"<="&C11,'10-16'!$D:$D,"Cat")


<tbody>
</tbody>
 

Some videos you may like

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Tetra201

MrExcel MVP
Joined
Oct 14, 2016
Messages
3,631
Maybe

=COUNTIFS('10-16'!$BK:$BK,">="&C11,'10-16'!$S:$S,"<="&C11,'10-16'!$D:$D,"Cat")+COUNTIFS('10-16'!$BK:$BK,"",'10-16'!$S:$S,"<="&C11,'10-16'!$D:$D,"Cat")
 

Watch MrExcel Video

Forum statistics

Threads
1,122,600
Messages
5,597,114
Members
414,125
Latest member
iQQ

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
Top