Sum and Countifs using a Not Equal logic

spydey

Active Member
Joined
Sep 19, 2017
Messages
314
Office Version
  1. 2013
Platform
  1. Windows
This should be quite simple but for some reason the correct output is evading me.

I have a cell with a formula in it, I would like the output to give me a count of all cells in a range that DO NOT meet the items listed in the array.

Here is an example:

Code:
=SUM(COUNTIFS($A$2:$A$500,"<>"&{"Complete","Pending"},$C$2:$C$500,$A$1,$C$2:$C$500,EOMONTH($A$1,0)))

So basically I need to know how many items there are in Column A that are NOT Completed or Pending and fall within a certain date range, found in column C.

I figured I could simply use the "<>" not equal to logic indicator and it would work, but I was wrong.

Any thoughts to steer me in the right direction?

Thank you!

-Spydey
 
I figured that the wildcards were causing the errors but I wasn't 100%. But still, it is a great formula to have at the ready. I will keep that in my arsenal. Thanks again for sharing it and for your input, I appreciate it.

-Spydey
 
Last edited:
Upvote 0

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

Forum statistics

Threads
1,223,911
Messages
6,175,335
Members
452,636
Latest member
laura12345

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