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 PrewIT / Software Engineering ConsultantCommented:
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 PrewIT / Software Engineering ConsultantCommented:
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?
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

ssblueCoordinatorAuthor Commented:
I guess I messed something up and in trying to explain it - I corrected it.  Thanks
ShumsExcel & VBA ExpertCommented:
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

ssblueCoordinatorAuthor 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.