Most frequent item in a list (excluding zeros)

A

Andre Croteau

Hello,

I have a range of 12 amounts, and I want to find the most frequent used item
but not including the ZERO value

A1 0
A2 0
A3 0
A4 0
A5 0
A6 33
A7 17
A8 17
A9 17
A10 0
A11 0
A12 0

I found an array formula in Chip Pearson's site, and it gives me the correct
result "0", since it appears 8 times

=INDEX(Rng,MATCH(MAX(COUNTIF(Rng,Rng)),COUNTIF(Rng,Rng),0))


Can this formula be modified so that it EXCLUDES the value ZERO when
examining the data??

Thank you in advance.

André
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top