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:

[TABLE="width: 500"]
<tbody>[TR]
[TD]Blue[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD]Red[/TD]
[/TR]
[TR]
[TD]Blue[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


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?
-
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
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
 
Upvote 0
Try this formula.

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

Forum statistics

Threads
1,223,275
Messages
6,171,121
Members
452,381
Latest member
Nova88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top