Complicated countif forumla

Complicated COUNTA formula.

This formula works:  ="Remaining: "&SUM((COUNTIF(AB5:AB5557,"<>"&""))-COUNTA(C5:C5558)-COUNTA(F5:F5558))

This formula works:  ="Number of Duplicates: "&(COUNTIF(A5:A5558,"Duplicate"))

This formula works:  ="Critical/Duplicates: "&(COUNTIFS(A5:A5556,"Critical/Dup"))

I need to combine the three to look something like the following:

="Remaining: "&SUM((COUNTIF(AB5:AB5557,"<>"&""))-COUNTA(C5:C5558)-COUNTA(F5:F5558))  -  (COUNTIF(A5:A5558,"Duplicate"))  -  (COUNTIFS(A5:A5556,"Critical/Dup"))
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bill PrewCommented:
The desired formula you showed should work fine, what seems to be the problem?

="Remaining: "&SUM((COUNTIF(AB5:AB5557,"<>"&""))-COUNTA(C5:C5558)-COUNTA(F5:F5558))  -  (COUNTIF(A5:A5558,"Duplicate"))  -  (COUNTIFS(A5:A5556,"Critical/Dup"))

Open in new window


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Bill PrewCommented:
Is this giving you the results you are after, it doesn't make complete sense to me but I'm not sure what you want the count of with it?


Open in new window

Rob HensonFinance AnalystCommented:
Can you upload the data?
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

ssblueAuthor Commented:
I guess I messed something up and in trying to explain it - I corrected it.  Thanks
ShumsDistinguished Expert - 2017Commented:
Hi Sue,

You may try something like below:
="Remaining: "&SUM((COUNTIF(AB5:AB5558,"<>"&""))-COUNTA(C5:C5558)-COUNTA(F5:F5558))-COUNTIF(A5:A5558,"*Dup*")

Open in new window

ssblueAuthor Commented:
Also I the field was formatted as 'Text' so I had to reformat it and then F2 it before it would work. Thank everyone for the help.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.