COUNTIFS help

DRWonoski

Board Regular
Joined
Mar 20, 2014
Messages
99
I'm having an issue with a countifs formula that I'm trying to get. I need a formula to see how many rows items meet the following criteria
  • End date is before Reference Date
  • Start Date is before Reference Date + 6 days
  • Difference between Start Date and End date is less than 30 days

ItemStart DateEnd DateReference Date
112/1/201612/9/201612/10/2016
212/2/201612/20/2016
312/10/201612/12/2016
412/14/201612/16/2016

<tbody>
</tbody>

=COUNTIFS(
CRITERIA 1 -
Code:
B:B,">"&C4
CRITERIA 2 -
Code:
A:A,"<"&C4+6
CRITERIA 3 -
Code:
A:A,& ????????????

Any help would be greatly appreciated.
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,214,866
Messages
6,121,996
Members
449,060
Latest member
mtsheetz

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