Countifs formula query

nadinecl73

New Member
Joined
Feb 27, 2023
Messages
3
Office Version
  1. 365
Platform
  1. Web
Why is this formula not returning a value when I can see from the data that there should be a count:
=COUNTIFS($A$3:$A$10968,CD3,$AH$3:$AH$10968,"<2017")
I'm looking to count units in column AH that are older than 2017, the formula returns zero.
 

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.
What exactly is in col AH?
 
Upvote 0
Does it just contain the year, or is it a date that is formatted to just show the year?
 
Upvote 0
Try the following problem solving tips, I think this might be an issue of the format of your criteria not matching the format in the data range.
  • make CD3 an absolute value
  • copy the text of the criteria you are looking the count for from column A and paste it in the exact same format in cell CD3.
  • Make sure the format of the dates in column AH is the same format as the criteria "<2017"
 
Upvote 0
Solution

Forum statistics

Threads
1,215,212
Messages
6,123,651
Members
449,111
Latest member
ghennedy

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