Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

calculating multiple mode values in Numbers

How do I create a formula to show more than one MODE value in a data set. IE> the data set has 2 or more modes


iPad, iOS 13

Posted on Jan 22, 2020 4:34 AM

Reply
Question marked as Best reply

Posted on Jan 23, 2020 2:39 PM

Hi Melina,


Here's one way:


The table above has two hidden columns, one to count the occurrences of each value incolumn C, the second to index the last row containing each value with the highest count.

The rightmost column uses MATCH and INDEX to retrieve each MODE value from its indexed row.


Formulas:


D2: COUNTIF(C$1:C2,C2)


E2: IF(D2<MAX(D),"",COUNTIF(D$1:D2,MAX(D)))


F2: IF(ROW()−1>MAX(E),"",INDEX(C,MATCH(ROW()−1,E)))


Replace the commas ( , ) with semi colons ( ; ) if the comma is the decimal separator in your region.


Regards,

Barry

1 reply
Question marked as Best reply

Jan 23, 2020 2:39 PM in response to melina0502

Hi Melina,


Here's one way:


The table above has two hidden columns, one to count the occurrences of each value incolumn C, the second to index the last row containing each value with the highest count.

The rightmost column uses MATCH and INDEX to retrieve each MODE value from its indexed row.


Formulas:


D2: COUNTIF(C$1:C2,C2)


E2: IF(D2<MAX(D),"",COUNTIF(D$1:D2,MAX(D)))


F2: IF(ROW()−1>MAX(E),"",INDEX(C,MATCH(ROW()−1,E)))


Replace the commas ( , ) with semi colons ( ; ) if the comma is the decimal separator in your region.


Regards,

Barry

calculating multiple mode values in Numbers

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.