Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How can I get a cell to return the most common value of 3 other cells that are all text based values, not numerical?

Cells A2, B2, & C2 all show answers to a specific question. I need E2 to produce the most common value from the results in A2:C2.

Eg. A2 contains "Orange," B2 contains "Purple," & C2 contains "Purple." So, the most common value is Purple. How do I get E2 to display "Purple?"

I have used MODE for this sort of thing in the past, but that only works for numerical values. Now I’m looking at text values and don’t know how to find the most common value.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

You may test this for three columns:

=let(Σ,A2:C2, +filter(Σ,countif(Σ,Σ)>1))
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading