CountIFs <> not working (small example)

ItalianPlatinum

Well-known Member
Joined
Mar 23, 2017
Messages
870
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
I have a very large data set, thousands of rows. I parsed it down easily for handling/testing. But even with a small example I cannot get the result I desire. I am trying to pull a condition where if a date in general format i.e. 20221216 is NOT equal to today to pull. in this example the 5 should present. the range is named YYYYMMDD. What am I doing wrong?

Book1.xlsm
ABCDEFGHIJ
1Date20221216
2
3AccountUnitamountConditionDateAccountUnitamount
4123A220221216123A2
520221219123A5
6
7
Sheet1
Cell Formulas
RangeFormula
E4E4=SUMIFS(J$4:J$1048576,A$4:A$1048576,H4,B$4:B$1048576,I4,G$4:G$1048576,"<>YYYYMMDD")
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
How about
Excel Formula:
=SUMIFS(J$4:J$1048576,H$4:H$1048576,A4,I$4:I$1048576,B4,G$4:G$1048576,"<>"&E1)
 
Upvote 0
Solution

Forum statistics

Threads
1,224,521
Messages
6,179,289
Members
452,902
Latest member
Knuddeluff

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