QuarterTurn
New Member
- Joined
- Jul 31, 2015
- Messages
- 4
I'm trying to find the most common values in a set, where multiple values can occur in each cell.
I have a series of values organized similarly to the list below
ex.1
and as a second example:
ex.2
I'm trying to find the most common value, the second most common value, and the third most common value for each set, but only if that value appears at least three times.
In example 1, I am looking to see Pear as the most common answer, then Apple, and then Orange
In example 2, I am looking to see Apple as the most common answer, and for Orange to be ignored, as it does not appear the minimum three times.
I tried using a formula =INDEX(A1:A7,MODE(MATCH(A1:A7,A1:A7,0)))
but that would only read the value of the cell as a whole. (in example 1, it would feed "Apple|Pear" because that's the most common exact match).
I don't know how to write a formula that scans multiple values per cell. And I don't know how to restrict it to a minimum of three occurrences. And I don't know how to find the second or third most common values.
I hope I've been clear in my explanation. This is my first time writing in to Mr.Excel.
I'm happy to add any clarification.
Thank you.
Using Excel for Mac 2011
I have a series of values organized similarly to the list below
ex.1
Apple
Orange|Pear
Apple|Pear
Apple|Orange|Pear
Watermelon|Pear
Apple|Pear
Strawberry|Orange
Orange|Pear
Apple|Pear
Apple|Orange|Pear
Watermelon|Pear
Apple|Pear
Strawberry|Orange
and as a second example:
ex.2
Apple
Apple|Orange
Apple
Orange
Apple
Apple
Apple
Apple|Orange
Apple
Orange
Apple
Apple
Apple
I'm trying to find the most common value, the second most common value, and the third most common value for each set, but only if that value appears at least three times.
In example 1, I am looking to see Pear as the most common answer, then Apple, and then Orange
In example 2, I am looking to see Apple as the most common answer, and for Orange to be ignored, as it does not appear the minimum three times.
I tried using a formula =INDEX(A1:A7,MODE(MATCH(A1:A7,A1:A7,0)))
but that would only read the value of the cell as a whole. (in example 1, it would feed "Apple|Pear" because that's the most common exact match).
I don't know how to write a formula that scans multiple values per cell. And I don't know how to restrict it to a minimum of three occurrences. And I don't know how to find the second or third most common values.
I hope I've been clear in my explanation. This is my first time writing in to Mr.Excel.
I'm happy to add any clarification.
Thank you.
Using Excel for Mac 2011