COUNTIFS not Counting

i am having trouble getting a COUNTIFS formula to work. what i want it to do is count Sleeve ID based off of Sleeve Length. For example I want it to tell me there are 20 6"ΓΈ Sleeves that are 8" Length. For some reason it is not counting IΒ have attached a screenshot with the formula in it. for ease, here is the formula again -Β
=IFERROR(COUNTIFS([Sleeve ID]:[Sleeve ID], [Sleeve Size]5, [Sleeve Length]:[Sleeve Length], [Sleeve Size]13), 0)
I added the IFERROR to give me a 0 if nothing comes up. IΒ tried to remove that and it didn't work.
Β
Β
Comments
-
Are you getting a zero when you remove the IFERROR, or are you getting an error?
-
I get a #NO MATCH
-
Is that error anywhere within either of your two referenced columns?
-
There was, I got rid of them and it seems to be working now...
So what I am gathering is the formula will kick back what errors are in the columns while ignoring the data that is being asked for. Now the formula works like a charm.
Β
Thank you sir.
-
Basically yes. If the formula encounters any error within the data being evaluated, it will either return the error it is encountering or it will return #BLOCKED. It just depends on the specific error present in the data to be evaluated.
Β
Glad you were able to get it working. Happy to help!Β
Help Article Resources
Categories
Check out the Formula Handbook template!