The most occurence of a value in a column

  • Thread starter Thread starter cpliu
  • Start date Start date
C

cpliu

I have 1 to 5 as values in a column. How can I find the number with the
most occurrence in that column?

Thanks,

cpliu
 
Try:

=INDEX(A1:A5,MATCH(MAX(COUNTIF(A1:A5,A1:A5)),COUNTIF
(A1:A5,A1:A5),0))

Array-entered, meaning press ctrl/shift/enter.

HTH
Jason
Atlanta, GA
 
Thank you all for the quick help. It works now.

Best regards,

cpliu
 

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

Back
Top