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 to have the result of both values when they have the same frequency in Excel?

I want to have the final result based on the frequency. As shown in the figure, in the red area, V1 shows up more, so of course the final result is "V1".
enter image description here

It works with the formula:

=INDEX(A2:A11,MODE(MATCH(A2:A11,A2:A11,0)))

But for the blue area, the frequency of V1 and V2 is the same, but I still get the result of "V1" (circled by red).

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

=INDEX(D2:D11,MODE(MATCH(D2:D11,D2:D11,0)))

I expect the result "V1 and V2".

Could anyone please give me some suggestions?

>Solution :

Use MODE.MULT():

enter image description here

Formula in B2:

=INDEX(A2:A11,MODE.MULT(MATCH(A2:A11,A2:A11,0)))

Nest in TEXTJOIN() if need be.

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