formula to find max number of values

Hi,
I would like help to build a formula to find max zero's in a column within a series (ID range)
Please refer to attached sheet
many thanks
Ian
Max_zeros.xlsx
Ian BellretiredAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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

ShumsExcel & VBA ExpertCommented:
Hi Ian,

Try below:
=COUNTIFS($A$4:$A$25,$A4,$E$4:$E$25,0)

Open in new window


Your cell formatting seems weird, I had to press F2 to refresh those cells. Please find attached...
RacePro_Max_zeros.xlsx
1

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
ShumsExcel & VBA ExpertCommented:
Another approach would be:
=SUMPRODUCT(($A$4:$A$25=$A4)*($E$4:$E$25=0))

Open in new window


Please remember to press F2 + Enter after you add formula
RacePro_Max_zeros.xlsx
1
ShumsExcel & VBA ExpertCommented:
Also, If you need to find which Series has Maximum Zeros in Col E, you can try below Array Formula confirmed with Ctrl+Shift+Enter:
=INDEX($A$4:$A$25,MODE(IF($E$4:$E$25=0, MATCH($A$4:$A$25,$A$4:$A$25,0))))

Open in new window

RacePro_Max_zeros.xlsx
1
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

Ian BellretiredAuthor Commented:
Thanks Shums, you're the best.
The first solution worked perfectly
1
ShumsExcel & VBA ExpertCommented:
You're Welcome Ian! Glad I was able to help.
BTW, change the formula to automatically update in Excel Options.
1
Ian BellretiredAuthor Commented:
Thanks Shuims, however for this sheet I prefer a manual calc
1
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 Office

From novice to tech pro — start learning today.