Countifs formula is not working correctly

Status
Not open for further replies.

hofst038

New Member
Joined
Mar 11, 2016
Messages
17
DateLead TechNon Lead TechCompleted
3/11/2016Y
3/15/2016N
3/16/2016N
3/17/2016Y
3/20/2016N

<tbody>
</tbody>


So I want a count of all the “Y” values in the Completed column based off the date range of 3/11/2016-3/18/2016.

My formula goes like this:
=COUNTIFS($A$1:$A$6, ">=" &DATEVALUE("3/11/2016"),$A$1:$A$6, "<="&DATEVALUE("3/18/2106"),$D$1:$D$6, "Y")

It seems to be ignoring the formula and grabbing ALL dates that are 3/11/2016 and above, not just the ones in the selected date range 3/11/2016-3/18/2016. Does anyone know how to fix this so it grabs only the dates from 3/11/2016 to 3/18/2016?
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Did you mean to set the second date as 2106?
 
Upvote 0
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,214,523
Messages
6,120,047
Members
448,940
Latest member
mdusw

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