Obtaining Most Common Word in a Column

almaba

New Member
Joined
Aug 5, 2019
Messages
1
Hi there everyone,

First to mention, my knowledge and skills on Excel are really poor and going through some practice/research I got to a point I can't figure out a solution for this issue.

So, I need to basically get what the most common word between some cells. I've checked many solutions and found out a way to get it done if all of those cells are filled out with something. Although, once I'm trying to use this kind of formulas for some documents at work where there are some blanks, the formulas just don't work.

An example of this would be:

Blue
Red
Blue

<tbody>
</tbody>


So, the result I'm looking for with the formula would be "Blue", but due to those blank spaces, there is nothing showing up on the result of the formula. Because of this having some applications at work as I mentioned, there are times when blank spaces are inevitable (but not useful as a final result).

Can someone get me any help with this, please?
-
 

Glove_Man

Well-known Member
Joined
Feb 20, 2005
Messages
578
If your data is in column A, you can easily use

=COUNTIF($A$2:$A$11,A2)

Then use MAX() and INDEX(MATCH()) to find the actual value
 

lrobbo314

Well-known Member
Joined
Jul 14, 2008
Messages
2,588
Office Version
365, 2019, 2016
Platform
Windows
Try this formula.

Code:
=INDEX(A1:A5,MODE(IF(A1:A5<>"",MATCH(A1:A5,A1:A5,0))))
 

Forum statistics

Threads
1,081,578
Messages
5,359,736
Members
400,545
Latest member
Damntheman30

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top