Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
With
A1:A11 containing this list: 1 2 3 2 2 3 3 4 5 6 (blank) This formula returns the count of modes: C1: =SUM(--(FREQUENCY($A$1:$A$10,$A$1:$A$10)=MAX(FREQUENCY($A $1:$A$10,$A$1:$A$10)))) This formula returns the MODES in order of occurrence: D1: =LARGE(INDEX((FREQUENCY($A$1:$A$10,$A$1:$A$10)= MAX(FREQUENCY($A$1:$A$10,$A$1:$A$10)))*$A$1:$A$11, 0),ROWS($1:1)) Copy D1 down as far as you need. In the above example, there are 2 modes and the formulas return.... D1: 3 D2: 2 D3: "" Does that help? Post back if you have more questions. -------------------------- Regards, Ron Microsoft MVP (Excel) (XL2003, Win XP) "Guy Lydig" wrote in message ... Why does the MODE function return only the largest value if an array of numbers has more than one mode? How can I get it to return all the modes? TIA Guy |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Mkae Mode function return "" instead of #N/A when there is no Mode | Excel Discussion (Misc queries) | |||
Mkae Mode function return "" instead of #N/A when there is no Mode | Excel Discussion (Misc queries) | |||
MODE Function | Excel Worksheet Functions | |||
Mode Function?? | Excel Worksheet Functions | |||
MODE function | Excel Worksheet Functions |