COUNTIF not equal to argue not returning expected value

Burkes

New Member
Joined
Oct 21, 2016
Messages
4
In excel 2010, I have 2 spreadsheets, the first "Daily Count Aug 2016" has the data, the second, "NEW COUNT" has a reporting chart. A cell on "New COUNT" contains the following formula:


=COUNTIFS('[Daily Count Aug 2016.xlsx]Daily Count'!$C$2:$C$2500,"<=D",'[Daily Count Aug 2016.xlsx]Daily Count'!$D$2:$D$2500,"<>L",'[Daily Count Aug 2016.xlsx]Daily Count'!$F$2:$F$2500,$A7)


What this is supposed to do is:
1. filter out all of the cells in column c that contain either C or D
2. of those, filter out all of the cells in column D that do not contain L, but does contain E, N or Y
3. of those, count the number of cells in column F that contain a date (A7)


The value returned is 79, which is incorrect. It should be 29, however the only way I can return that value is using <n instead="" of="" <="">L, which neglects the E value in the search.


Is it the order of the formula, or do I need to add additional search parameters?</n>
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Forum statistics

Threads
1,216,098
Messages
6,128,812
Members
449,468
Latest member
AGreen17

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