• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Array Formula for Returning Text, which is appearing maximum time in Range.

AjayVyas

New Member
Hi, Anupam


Please check this Formula for particular Text which comes maximum time in particular range.


Cell A1:A8 = {"Raj";"Ajay";"Vijay";"Sanjay";"Raj";"Ajay";"Amit";"Ajay"}


Formula in B2 = =INDEX(A1:A8,MATCH(LARGE(COUNTIF(A1:A8,A1:A8),1),COUNTIF(A1:A8,A1:A8),0))


Best Regards

Ajay Vyas
 
Hi AjayVyas,


The formula works correctly and it will give you the most repeated text in a range. but it will be erroneous in case where you have a tie eg. if Raj and Ajay both appears twice in that range, it will give you the one that comes first in the INDEX Lookup range.


Regards,
 
Back
Top