![]() |
Second Most Common Value
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. |
Answer: Second Most Common Value
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. |
Second Most Common Value
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. |
Second Most Common Value
=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. |
Second Most Common Value
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. |
Second Most Common Value
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. |
Wont work..
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 |
All times are GMT +1. The time now is 07:09 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com