skinnea
Board Regular
- Joined
- Mar 15, 2003
- Messages
- 135
- Office Version
- 365
- Platform
- Windows
I have a spreadsheet that uses C, Q and B to denote three different states for a number of locations (Closed, Quiet, Busy).
Looking down each column there will be multiple occurrences of each letter, but I want to find the most frequently occurring one.
I've been able to use the following formula to decide on the most frequent between two of the letters, but am unsure how to factor in a comparison against the third one?
=IF(COUNTIF(G3:G14,"c")>(COUNTIF(G3:G14,"b")),"c","b")
I want the calculating cell (where the formula above sits) to show the actual letter that is most frequent, not the number of times it appears.
MODE would give me the detail I wanted if I was using 1, 2 and 3 - but I'm not!!
Any ideas...?
Looking down each column there will be multiple occurrences of each letter, but I want to find the most frequently occurring one.
I've been able to use the following formula to decide on the most frequent between two of the letters, but am unsure how to factor in a comparison against the third one?
=IF(COUNTIF(G3:G14,"c")>(COUNTIF(G3:G14,"b")),"c","b")
I want the calculating cell (where the formula above sits) to show the actual letter that is most frequent, not the number of times it appears.
MODE would give me the detail I wanted if I was using 1, 2 and 3 - but I'm not!!
Any ideas...?