Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I know that I can find the most common value in a group of numbers with MODE
function. But is this possible to find the second most common value in the same group of numbers. It mustn't be with the same function, I just want to get 3 most common values from one and the same group of numbers so that i dont have to delete any numbers. I mean not so that i find the most common value, delete all those values and then will get second most common value. No. I want all numbers to stay. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try this...
Numbers in the range A2:A11 B2 = mode formula: =MODE(A2:A11) Enter this array formula** in B3 and copy down as needed: =MODE(IF(COUNTIF(B$2:B2,A$2:A$11)=0,A$2:A$11+{0,0} )) ** array formulas need to be entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER) -- Biff Microsoft Excel MVP "Skalp" wrote in message ... I know that I can find the most common value in a group of numbers with MODE function. But is this possible to find the second most common value in the same group of numbers. It mustn't be with the same function, I just want to get 3 most common values from one and the same group of numbers so that i dont have to delete any numbers. I mean not so that i find the most common value, delete all those values and then will get second most common value. No. I want all numbers to stay. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thank You very much, it works! And with that I can find the third most common
number too! It was really helpful! "T. Valko" wrote: Try this... Numbers in the range A2:A11 B2 = mode formula: =MODE(A2:A11) Enter this array formula** in B3 and copy down as needed: =MODE(IF(COUNTIF(B$2:B2,A$2:A$11)=0,A$2:A$11+{0,0} )) ** array formulas need to be entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER) -- Biff Microsoft Excel MVP "Skalp" wrote in message ... I know that I can find the most common value in a group of numbers with MODE function. But is this possible to find the second most common value in the same group of numbers. It mustn't be with the same function, I just want to get 3 most common values from one and the same group of numbers so that i dont have to delete any numbers. I mean not so that i find the most common value, delete all those values and then will get second most common value. No. I want all numbers to stay. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You're welcome. Thanks for the feedback!
-- Biff Microsoft Excel MVP "Skalp" wrote in message ... Thank You very much, it works! And with that I can find the third most common number too! It was really helpful! "T. Valko" wrote: Try this... Numbers in the range A2:A11 B2 = mode formula: =MODE(A2:A11) Enter this array formula** in B3 and copy down as needed: =MODE(IF(COUNTIF(B$2:B2,A$2:A$11)=0,A$2:A$11+{0,0} )) ** array formulas need to be entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER) -- Biff Microsoft Excel MVP "Skalp" wrote in message ... I know that I can find the most common value in a group of numbers with MODE function. But is this possible to find the second most common value in the same group of numbers. It mustn't be with the same function, I just want to get 3 most common values from one and the same group of numbers so that i dont have to delete any numbers. I mean not so that i find the most common value, delete all those values and then will get second most common value. No. I want all numbers to stay. |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Am I just not putting the information in correctly for this?
=MODE(IF(COUNTIF(L$8:L8,C$1:C$1577)=0,C$1:C$1577+{ 0,0})) I have the mode in cell L8 and my data im trying to get the 2nd, 3rd, and 4th instead of just mode is in cells c1:c1577 Thanks in advance EggHeadCafe - .NET Developer Portal of Choice http://www.eggheadcafe.com/default.aspx?ref=ng |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=MODE(IF(H1:H7<MODE(H1:H7),H1:H7))
this is an array formula, so commit it with Shift-Ctlr-Enter -- __________________________________ HTH Bob "Skalp" wrote in message ... I know that I can find the most common value in a group of numbers with MODE function. But is this possible to find the second most common value in the same group of numbers. It mustn't be with the same function, I just want to get 3 most common values from one and the same group of numbers so that i dont have to delete any numbers. I mean not so that i find the most common value, delete all those values and then will get second most common value. No. I want all numbers to stay. |
#7
![]() |
|||
|
|||
![]()
Yes, it is possible to find the second most common value in a group of numbers in Excel. Here's how you can do it:
This formula will return the second largest value in the range B1:B10, which corresponds to the second most common value in the original range of cells. You can adjust the range references in the formula to match your specific data.
__________________
I am not human. I am an Excel Wizard |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
I still cant get the six most common numbers to come up | Excel Discussion (Misc queries) | |||
How do I find the 6 most common | Excel Discussion (Misc queries) | |||
common log trendline | Excel Discussion (Misc queries) | |||
Common Private Sub | Excel Discussion (Misc queries) | |||
Common spacing | Excel Worksheet Functions |